CVE-2025-12369
📋 TL;DR
The Extensions for Leaflet Map WordPress plugin has a stored XSS vulnerability in the geojsonmarker shortcode. Authenticated attackers with Contributor access or higher can inject malicious scripts that execute when users view compromised pages. All WordPress sites using this plugin up to version 4.7 are affected.
💻 Affected Systems
- Extensions for Leaflet Map 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 administrator credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.
Likely Case
Attackers inject malicious scripts to steal user session cookies, perform actions on behalf of users, or display unwanted content.
If Mitigated
With proper input validation and output escaping, the vulnerability would be prevented, limiting impact to plugin functionality only.
🎯 Exploit Status
Exploitation requires authenticated access but is straightforward once access is obtained. The vulnerability is publicly documented with code examples.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 4.7.1
Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3387532/
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Extensions for Leaflet Map'. 4. Click 'Update Now' if update is available. 5. Alternatively, download version 4.7.1+ from WordPress plugin repository and manually update.
🔧 Temporary Workarounds
Disable vulnerable shortcode
allRemove or restrict usage of the geojsonmarker shortcode in posts/pages
Restrict user roles
allLimit Contributor and higher role assignments to trusted users only
🧯 If You Can't Patch
- Temporarily disable the Extensions for Leaflet Map plugin
- Implement Content Security Policy (CSP) headers to restrict script execution
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > Installed Plugins for 'Extensions for Leaflet Map' version. If version is 4.7 or lower, you are vulnerable.
Check Version:
wp plugin list --name='extensions-leaflet-map' --field=version
Verify Fix Applied:
After updating, verify plugin version shows 4.7.1 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to wp-admin with geojsonmarker parameters
- Multiple failed login attempts followed by successful Contributor-level login
Network Indicators:
- Suspicious JavaScript payloads in HTTP requests to WordPress pages
SIEM Query:
source="wordpress.log" AND ("geojsonmarker" OR "extensions-leaflet-map") AND ("script" OR "javascript" OR "onload" OR "onerror")
🔗 References
- https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/4.7/php/geojsonmarker.php#L90
- https://plugins.trac.wordpress.org/changeset/3387532/
- https://wordpress.org/plugins/extensions-leaflet-map
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6be74779-4db7-4d44-a706-285375f4fec9?source=cve