Description
The OSM – OpenStreetMap plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'marker_name' and 'file_color_list' shortcode attribute of the [osm_map_v3] shortcode in all versions up to and including 6.1.15. This is due to insufficient input sanitization and output escaping. 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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
photoweblog OSM – OpenStreetMap
Default version status: unaffected
0 to ≤ 6.1.15affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/65dffde9-2a50-41fe-bc21-3d0915068887?source=cve ↗
- https://plugins.trac.wordpress.org/browser/osm/trunk/osm_map_v3/osm-sc-osm_map_v3.php#L560 ↗
- https://plugins.trac.wordpress.org/browser/osm/tags/6.1.15/osm_map_v3/osm-sc-osm_map_v3.php#L560 ↗
- https://plugins.trac.wordpress.org/browser/osm/trunk/osm_map_v3/osm-sc-osm_map_v3.php#L31 ↗
- https://plugins.trac.wordpress.org/browser/osm/tags/6.1.15/osm_map_v3/osm-sc-osm_map_v3.php#L31 ↗
- https://plugins.trac.wordpress.org/browser/osm/trunk/osm-icon-class.php#L347 ↗
- https://plugins.trac.wordpress.org/browser/osm/tags/6.1.15/osm-icon-class.php#L347 ↗
- https://plugins.trac.wordpress.org/browser/osm/trunk/osm-icon-class.php#L356 ↗
- https://plugins.trac.wordpress.org/browser/osm/tags/6.1.15/osm-icon-class.php#L356 ↗
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3493950%40osm&new=3493950%40osm&sfp_email=&sfph_mail= ↗