CVE-2025-14453
📋 TL;DR
The My Album Gallery WordPress plugin has a stored XSS vulnerability that allows authenticated attackers with Contributor access or higher to inject malicious scripts via the 'style_css' shortcode attribute. These scripts execute whenever users view pages containing the injected content, potentially compromising visitor browsers. All WordPress sites using this plugin up to version 1.0.4 are affected.
💻 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, redirect users to malicious sites, deface websites, or install malware on visitor systems through persistent script execution.
Likely Case
Attackers with contributor accounts inject malicious scripts that steal session cookies or redirect users to phishing pages, potentially compromising user accounts.
If Mitigated
With proper input validation and output escaping, the vulnerability is prevented, and only legitimate CSS styling is applied.
🎯 Exploit Status
Exploitation requires authenticated access but is straightforward once an attacker has contributor privileges.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Check for updates beyond 1.0.4
Vendor Advisory: https://plugins.trac.wordpress.org/browser/my-album-gallery/
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'My Album Gallery' and check for updates. 4. If update is available, click 'Update Now'. 5. If no update is available, deactivate and remove the plugin.
🔧 Temporary Workarounds
Remove Contributor Access
allTemporarily restrict contributor-level access to prevent exploitation while patching.
Disable Plugin
allDeactivate the My Album Gallery plugin until a patch is available.
🧯 If You Can't Patch
- Implement strict input validation and output escaping in custom code
- Use web application firewall (WAF) rules to block XSS payloads
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins for My Album Gallery version 1.0.4 or earlier.
Check Version:
wp plugin list --name=my-album-gallery --field=version
Verify Fix Applied:
Verify plugin version is updated beyond 1.0.4 and test shortcode functionality with script payloads.
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to WordPress admin with style_css parameters containing script tags
- Multiple failed login attempts followed by successful contributor login
Network Indicators:
- HTTP requests containing malicious script payloads in style_css parameters
- Unexpected outbound connections from WordPress site
SIEM Query:
source="wordpress.log" AND ("style_css" AND ("script" OR "javascript:" OR "onerror="))
🔗 References
- https://plugins.trac.wordpress.org/browser/my-album-gallery/tags/1.0.4/controllers/public/class-mygallery-shortcode.php#L121
- https://plugins.trac.wordpress.org/browser/my-album-gallery/trunk/controllers/public/class-mygallery-shortcode.php#L121
- https://www.wordfence.com/threat-intel/vulnerabilities/id/64399c1c-ea82-483b-b320-3c6f2cb010b3?source=cve