CVE-2025-12369: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in hupe13 Extensions for Leaflet Map
The Extensions for Leaflet Map plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `geojsonmarker` shortcode in all versions up to, and including, 4.7. This is due to insufficient input sanitization and output escaping on user-supplied attributes. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2025-12369 is a stored Cross-Site Scripting vulnerability identified in the Extensions for Leaflet Map plugin for WordPress, which is widely used to integrate interactive maps into websites. The vulnerability arises from improper neutralization of user-supplied input in the geojsonmarker shortcode, allowing authenticated users with Contributor-level access or higher to inject arbitrary JavaScript code. This occurs because the plugin fails to adequately sanitize and escape input attributes before rendering them on web pages. When a malicious script is injected, it is stored persistently and executed in the browsers of any users who visit the affected pages, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of the user. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting medium severity, with an attack vector of network, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No patches have been released at the time of this report, and no active exploits are known. The vulnerability affects all versions up to and including 4.7 of the plugin. Since WordPress is a popular CMS in Europe, and this plugin is used for map integration, the risk is significant for websites that allow contributors to add or edit content without strict input validation controls.
Potential Impact
For European organizations, this vulnerability poses a moderate risk primarily to websites using the Extensions for Leaflet Map plugin on WordPress platforms. The ability for authenticated contributors to inject persistent scripts can lead to session hijacking, unauthorized data access, defacement, or distribution of malware to site visitors. This can damage organizational reputation, lead to data breaches involving user credentials or personal data, and disrupt service availability indirectly through compromised accounts. Organizations in sectors such as media, education, government, and tourism—where interactive maps are frequently used—may face targeted exploitation. The confidentiality and integrity of user data and site content are at risk, but availability impact is minimal. Since exploitation requires authenticated access, the threat is mitigated somewhat by strong access controls but remains significant where contributor roles are broadly assigned or poorly managed.
Mitigation Recommendations
1. Monitor for official patches or updates from the hupe13 project and apply them immediately once available. 2. Until patches are released, restrict Contributor-level permissions to trusted users only and consider temporarily disabling the plugin if feasible. 3. Implement additional input validation and output encoding at the WordPress site level, especially for shortcodes and user-generated content fields. 4. Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious script injection patterns targeting the geojsonmarker shortcode. 5. Conduct regular security audits of user roles and permissions to minimize the number of users with content editing capabilities. 6. Educate content contributors about the risks of injecting untrusted content and enforce strict content submission guidelines. 7. Use Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts on affected sites. 8. Monitor logs for unusual activity related to shortcode usage or contributor account behavior to detect early exploitation attempts.
Affected Countries
Germany, United Kingdom, France, Netherlands, Italy, Spain, Poland, Sweden
CVE-2025-12369: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in hupe13 Extensions for Leaflet Map
Description
The Extensions for Leaflet Map plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `geojsonmarker` shortcode in all versions up to, and including, 4.7. This is due to insufficient input sanitization and output escaping on user-supplied attributes. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Technical Analysis
CVE-2025-12369 is a stored Cross-Site Scripting vulnerability identified in the Extensions for Leaflet Map plugin for WordPress, which is widely used to integrate interactive maps into websites. The vulnerability arises from improper neutralization of user-supplied input in the geojsonmarker shortcode, allowing authenticated users with Contributor-level access or higher to inject arbitrary JavaScript code. This occurs because the plugin fails to adequately sanitize and escape input attributes before rendering them on web pages. When a malicious script is injected, it is stored persistently and executed in the browsers of any users who visit the affected pages, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of the user. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting medium severity, with an attack vector of network, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No patches have been released at the time of this report, and no active exploits are known. The vulnerability affects all versions up to and including 4.7 of the plugin. Since WordPress is a popular CMS in Europe, and this plugin is used for map integration, the risk is significant for websites that allow contributors to add or edit content without strict input validation controls.
Potential Impact
For European organizations, this vulnerability poses a moderate risk primarily to websites using the Extensions for Leaflet Map plugin on WordPress platforms. The ability for authenticated contributors to inject persistent scripts can lead to session hijacking, unauthorized data access, defacement, or distribution of malware to site visitors. This can damage organizational reputation, lead to data breaches involving user credentials or personal data, and disrupt service availability indirectly through compromised accounts. Organizations in sectors such as media, education, government, and tourism—where interactive maps are frequently used—may face targeted exploitation. The confidentiality and integrity of user data and site content are at risk, but availability impact is minimal. Since exploitation requires authenticated access, the threat is mitigated somewhat by strong access controls but remains significant where contributor roles are broadly assigned or poorly managed.
Mitigation Recommendations
1. Monitor for official patches or updates from the hupe13 project and apply them immediately once available. 2. Until patches are released, restrict Contributor-level permissions to trusted users only and consider temporarily disabling the plugin if feasible. 3. Implement additional input validation and output encoding at the WordPress site level, especially for shortcodes and user-generated content fields. 4. Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious script injection patterns targeting the geojsonmarker shortcode. 5. Conduct regular security audits of user roles and permissions to minimize the number of users with content editing capabilities. 6. Educate content contributors about the risks of injecting untrusted content and enforce strict content submission guidelines. 7. Use Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts on affected sites. 8. Monitor logs for unusual activity related to shortcode usage or contributor account behavior to detect early exploitation attempts.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-10-27T20:07:43.306Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 690984dd2b77ca42b4883ebb
Added to database: 11/4/2025, 4:45:17 AM
Last enriched: 11/4/2025, 4:59:10 AM
Last updated: 11/4/2025, 7:02:54 PM
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-64322: CWE-732 Incorrect Permission Assignment for Critical Resource in Salesforce Agentforce Vibes Extension
UnknownCVE-2025-12108: CWE-306 Missing Authentication for Critical Function in Survision License Plate Recognition Camera
CriticalCVE-2024-3159: Out of bounds memory access in Google Chrome
HighCVE-2024-3158: Use after free in Google Chrome
HighCVE-2024-3156: Inappropriate implementation in Google Chrome
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.