CVE-2025-14796
📋 TL;DR
The My Album Gallery WordPress plugin has a stored XSS vulnerability in image titles due to insufficient input sanitization. Authenticated attackers with Author-level access or higher can inject malicious scripts that execute when users view affected pages. This affects all WordPress sites using the plugin up to version 1.0.4.
💻 Affected Systems
- My Album Gallery WordPress Plugin
⚠️ Manual Verification Required
This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.
Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).
🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Attackers could steal admin credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.
Likely Case
Attackers with Author accounts inject malicious scripts to steal user session cookies or perform actions on behalf of users.
If Mitigated
With proper user access controls and content security policies, impact is limited to isolated script execution without data exfiltration.
🎯 Exploit Status
Exploitation requires authenticated access but is technically simple once access is obtained.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.0.5 or later
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find My Album Gallery and click 'Update Now'. 4. Verify version is 1.0.5 or higher.
🔧 Temporary Workarounds
Disable Plugin
allTemporarily disable the vulnerable plugin until patched
wp plugin deactivate my-album-gallery
Restrict User Roles
allLimit Author and higher role assignments to trusted users only
🧯 If You Can't Patch
- Implement Content Security Policy (CSP) headers to restrict script execution
- Regularly audit user accounts and remove unnecessary Author-level permissions
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > My Album Gallery. If version is 1.0.4 or lower, you are vulnerable.
Check Version:
wp plugin get my-album-gallery --field=version
Verify Fix Applied:
After updating, verify plugin version shows 1.0.5 or higher in WordPress admin.
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to gallery endpoints
- Multiple image title updates from single user in short time
Network Indicators:
- Outbound connections to suspicious domains after viewing gallery pages
SIEM Query:
source="wordpress" AND (event="plugin_update" AND plugin="my-album-gallery" AND version<="1.0.4") OR (event="post_modified" AND post_type="attachment" AND user_role IN ("author","editor","administrator"))
🔗 References
- https://plugins.trac.wordpress.org/browser/my-album-gallery/tags/1.0.4/controllers/public/class-mygallery-shortcode.php#L143
- https://plugins.trac.wordpress.org/browser/my-album-gallery/tags/1.0.4/mygallery-single.php#L92
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1dd0bb5b-2eb5-46f0-8942-2885b1138b70?source=cve