CVE-2024-8991
OSM <= 6.1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via osm_map and osm_map_v3 Shortcodes
- State
- Published
- Severity
- 6.4 Medium
- Published
- Sep 27, 2024
- Updated
- Apr 8, 2026
- Reserved
- Sep 18, 2024
Description
The OSM – OpenStreetMap plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's osm_map and osm_map_v3 shortcodes in all versions up to, and including, 6.1.0 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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.4 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
OSM – OpenStreetMapphotoweblog |
|
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/839ecd06-9c74-4ddc-b455-26ec3e627889?source=cve
- https://wordpress.org/plugins/osm/#developers
- https://plugins.trac.wordpress.org/browser/osm/trunk/osm-metabox.php#L155
- https://plugins.trac.wordpress.org/browser/osm/trunk/osm.php#L1120
- https://plugins.trac.wordpress.org/browser/osm/trunk/osm-metabox_v4.php#L139
- https://wp-osm-plugin.hyumika.com/changelog/
- https://plugins.trac.wordpress.org/changeset/3157069/
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.