CVE-2024-8991: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in photoweblog OSM – OpenStreetMap
CVE-2024-8991 is a stored cross-site scripting (XSS) vulnerability in the photoweblog OSM – OpenStreetMap WordPress plugin affecting all versions up to 6. 1. 0. It arises from improper input sanitization and output escaping in the osm_map and osm_map_v3 shortcodes, allowing authenticated users with contributor-level access or higher to inject malicious scripts. These scripts execute whenever any user views the compromised page, potentially leading to session hijacking, defacement, or unauthorized actions. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction but does require authenticated contributor-level privileges. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or mitigating this issue to prevent exploitation.
AI Analysis
Technical Summary
CVE-2024-8991 is a stored cross-site scripting vulnerability classified under CWE-79, found in the photoweblog OSM – OpenStreetMap plugin for WordPress. This vulnerability affects all plugin versions up to and including 6.1.0. The root cause is insufficient sanitization and escaping of user-supplied attributes in the osm_map and osm_map_v3 shortcodes. Authenticated users with contributor-level permissions or higher can exploit this flaw by injecting arbitrary JavaScript code into pages generated by the plugin. When other users access these pages, the injected scripts execute in their browsers, potentially compromising session tokens, redirecting users, or performing unauthorized actions on their behalf. The vulnerability is remotely exploitable over the network without user interaction but requires authenticated contributor-level access, limiting the attack surface to some extent. The CVSS v3.1 base score is 6.4, reflecting a medium severity with low attack complexity and no user interaction needed. No patches or official fixes are currently linked, and no known exploits have been reported in the wild. The vulnerability affects websites using the OSM – OpenStreetMap plugin, which is popular among WordPress sites that integrate OpenStreetMap data for geolocation features.
Potential Impact
The impact of CVE-2024-8991 can be significant for organizations relying on the OSM – OpenStreetMap WordPress plugin. Successful exploitation allows attackers with contributor-level access to inject persistent malicious scripts, which execute in the browsers of any users visiting the affected pages. This can lead to theft of session cookies, enabling account takeover, unauthorized actions performed on behalf of users, defacement of website content, or distribution of malware. Since the vulnerability requires authenticated contributor access, the risk is higher in environments where contributor accounts are numerous or poorly managed. For high-traffic websites, the potential for widespread impact is considerable, affecting user trust and potentially leading to data breaches or reputational damage. The vulnerability does not affect system availability directly but compromises confidentiality and integrity of user interactions and data.
Mitigation Recommendations
To mitigate CVE-2024-8991, organizations should immediately restrict contributor-level access to trusted users only and audit existing contributor accounts for suspicious activity. Until an official patch is released, administrators can implement input validation and output encoding at the application or web server level to sanitize shortcode attributes. Employing a Web Application Firewall (WAF) with custom rules to detect and block suspicious script injections in shortcode parameters can reduce risk. Monitoring logs for unusual contributor activity and injected scripts is also advised. Updating the plugin to a patched version once available is critical. Additionally, educating contributors about secure input practices and limiting the use of shortcodes that accept user input can help prevent exploitation. Regular security assessments and penetration testing focusing on plugin vulnerabilities should be conducted.
Affected Countries
United States, Germany, United Kingdom, France, Canada, Australia, Netherlands, Japan, India, Brazil
CVE-2024-8991: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in photoweblog OSM – OpenStreetMap
Description
CVE-2024-8991 is a stored cross-site scripting (XSS) vulnerability in the photoweblog OSM – OpenStreetMap WordPress plugin affecting all versions up to 6. 1. 0. It arises from improper input sanitization and output escaping in the osm_map and osm_map_v3 shortcodes, allowing authenticated users with contributor-level access or higher to inject malicious scripts. These scripts execute whenever any user views the compromised page, potentially leading to session hijacking, defacement, or unauthorized actions. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction but does require authenticated contributor-level privileges. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or mitigating this issue to prevent exploitation.
AI-Powered Analysis
Technical Analysis
CVE-2024-8991 is a stored cross-site scripting vulnerability classified under CWE-79, found in the photoweblog OSM – OpenStreetMap plugin for WordPress. This vulnerability affects all plugin versions up to and including 6.1.0. The root cause is insufficient sanitization and escaping of user-supplied attributes in the osm_map and osm_map_v3 shortcodes. Authenticated users with contributor-level permissions or higher can exploit this flaw by injecting arbitrary JavaScript code into pages generated by the plugin. When other users access these pages, the injected scripts execute in their browsers, potentially compromising session tokens, redirecting users, or performing unauthorized actions on their behalf. The vulnerability is remotely exploitable over the network without user interaction but requires authenticated contributor-level access, limiting the attack surface to some extent. The CVSS v3.1 base score is 6.4, reflecting a medium severity with low attack complexity and no user interaction needed. No patches or official fixes are currently linked, and no known exploits have been reported in the wild. The vulnerability affects websites using the OSM – OpenStreetMap plugin, which is popular among WordPress sites that integrate OpenStreetMap data for geolocation features.
Potential Impact
The impact of CVE-2024-8991 can be significant for organizations relying on the OSM – OpenStreetMap WordPress plugin. Successful exploitation allows attackers with contributor-level access to inject persistent malicious scripts, which execute in the browsers of any users visiting the affected pages. This can lead to theft of session cookies, enabling account takeover, unauthorized actions performed on behalf of users, defacement of website content, or distribution of malware. Since the vulnerability requires authenticated contributor access, the risk is higher in environments where contributor accounts are numerous or poorly managed. For high-traffic websites, the potential for widespread impact is considerable, affecting user trust and potentially leading to data breaches or reputational damage. The vulnerability does not affect system availability directly but compromises confidentiality and integrity of user interactions and data.
Mitigation Recommendations
To mitigate CVE-2024-8991, organizations should immediately restrict contributor-level access to trusted users only and audit existing contributor accounts for suspicious activity. Until an official patch is released, administrators can implement input validation and output encoding at the application or web server level to sanitize shortcode attributes. Employing a Web Application Firewall (WAF) with custom rules to detect and block suspicious script injections in shortcode parameters can reduce risk. Monitoring logs for unusual contributor activity and injected scripts is also advised. Updating the plugin to a patched version once available is critical. Additionally, educating contributors about secure input practices and limiting the use of shortcodes that accept user input can help prevent exploitation. Regular security assessments and penetration testing focusing on plugin vulnerabilities should be conducted.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-09-18T22:59:15.598Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6b3cb7ef31ef0b54f975
Added to database: 2/25/2026, 9:35:56 PM
Last enriched: 2/25/2026, 10:57:32 PM
Last updated: 2/26/2026, 8:38:48 AM
Views: 1
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-2026-1698: CWE-644 Improper Neutralization of HTTP Headers for Scripting Syntax in arcinfo PcVue
MediumCVE-2026-1697: CWE-614 Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in arcinfo PcVue
MediumCVE-2026-1696: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in arcinfo PcVue
LowCVE-2026-1695: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in arcinfo PcVue
MediumCVE-2026-1694: CWE-201 Insertion of Sensitive Information into Sent Data in arcinfo PcVue
LowActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.