OSM – OpenStreetMap Security & Risk Analysis

wordpress.org/plugins/osm

Customize maps in your post, pages and widgets. GPX, KML and more. The easy way to map!

10K active installs v6.1.17 PHP 5.3+ WP 3.0+ Updated Apr 11, 2026
gpxkmlopenseamapopenstreetmaposm
86
A · Safe
CVEs total9
Unpatched0
Last CVEApr 8, 2026
Safety Verdict

Is OSM – OpenStreetMap Safe to Use in 2026?

Generally Safe

Score 86/100

OSM – OpenStreetMap has a strong security track record. Known vulnerabilities have been patched promptly. It's a solid choice for most WordPress installations.

9 known CVEsLast CVE: Apr 8, 2026Updated 1mo ago
Risk Assessment

The "osm" v6.1.15 plugin exhibits a mixed security posture. On the positive side, the static analysis reveals no critical or high-severity issues within the current code base, including dangerous functions, file operations, or external HTTP requests. The presence of nonce and capability checks on entry points is also a strength, indicating some adherence to WordPress security best practices. However, concerns arise from the vulnerability history, which shows a significant number of past CVEs, including one critical and one high-severity vulnerability. The common types of past vulnerabilities (XSS, SQL Injection, CSRF) suggest recurring weaknesses in input sanitization and output escaping, despite the current static analysis indicating that 70% of SQL queries use prepared statements and 71% of outputs are properly escaped. This suggests that while current code might be improved, past issues indicate a pattern of susceptible code that could be reintroduced or missed in future development.

The limited attack surface of 5 entry points, all with authentication checks, is a positive indicator. However, the history of 7 total CVEs, including a critical and high-severity one, coupled with past vulnerability types like SQL Injection and XSS, warrants caution. The plugin has a track record of security flaws, and even though there are no currently unpatched CVEs, the recurring nature of these vulnerabilities suggests potential ongoing risks if code review and sanitization practices are not rigorously maintained. The current static analysis results, while good for the current version, do not fully mitigate the risks posed by the plugin's past security performance.

Key Concerns

  • Significant past CVEs including critical/high
  • Past SQL Injection vulnerabilities
  • Past XSS vulnerabilities
  • Past CSRF vulnerabilities
  • 70% SQL prepared statements (potential raw SQL)
  • 71% output escaping (potential unescaped output)
Vulnerabilities
9 published

OSM – OpenStreetMap Security Vulnerabilities

CVEs by Year

1 CVE in 2022
2022
1 CVE in 2023
2023
4 CVEs in 2024
2024
1 CVE in 2025
2025
2 CVEs in 2026
2026
Patched Has unpatched

Severity Breakdown

Critical
1
High
1
Medium
7

9 total CVEs

CVE-2026-4429medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

OSM <= 6.1.15 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'marker_name' Shortcode Attribute

Apr 8, 2026 Patched in 6.1.16 (1d)
CVE-2026-25323medium · 4.3Missing Authorization

OSM – OpenStreetMap <= 6.1.12 - Missing Authorization

Jan 29, 2026 Patched in 6.1.13 (96d)
CVE-2025-31557medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

OSM – OpenStreetMap <= 6.1.13 - Authenticated (Contributor+) Stored Cross-Site Scripting

Mar 31, 2025 Patched in 6.1.14 (310d)
CVE-2024-52355medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

OSM – OpenStreetMap <= 6.1.2 - Authenticated (Contributor+) Stored Cross-Site Scripting

Nov 8, 2024 Patched in 6.1.3 (7d)
CVE-2024-8991medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

OSM <= 6.1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via osm_map and osm_map_v3 Shortcodes

Sep 26, 2024 Patched in 6.1.1 (1d)
CVE-2024-3604critical · 9.9Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

OSM – OpenStreetMap <= 6.0.3 - Authenticated (Contributor+) SQL Injection

Jul 8, 2024 Patched in 6.0.4 (81d)
CVE-2024-3603medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

OSM – OpenStreetMap <= 6.0.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode

Jul 8, 2024 Patched in 6.0.4 (78d)
CVE-2022-4676medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

OSM - OpenStreetMap <= 6.0.5 - Authenticated(Contributor+) Stored Cross-Site Scripting via 'osm_map' Shortcode

May 3, 2023 Patched in 6.0.6 (511d)
CVE-2022-30544high · 8.8Cross-Site Request Forgery (CSRF)

OSM - OpenStreetMap <= 6.0 - Cross-Site Request Forgery

Sep 30, 2022 Patched in 6.0.1 (480d)
Code Analysis
Analyzed Mar 16, 2026

OSM – OpenStreetMap Code Analysis

Dangerous Functions
0
Raw SQL Queries
3
7 prepared
Unescaped Output
57
140 escaped
Nonce Checks
3
Capability Checks
2
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

70% prepared10 total queries

Output Escaping

71% escaped197 total outputs
Data Flows · Security
All sanitized

Data Flow Analysis

2 flows
options_page_osm (osm.php:447)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

OSM – OpenStreetMap Attack Surface

Entry Points5
Unprotected0

AJAX Handlers 2

authwp_ajax_act_saveGeotagosm.php:403
authwp_ajax_act_saveMarkerosm.php:404

Shortcodes 3

[osm_map] osm.php:408
[osm_map_v3] osm.php:409
[osm_info] osm.php:410
WordPress Hooks 12
actionadmin_enqueue_scriptsosm-metabox.php:59
filterupload_mimesosm.php:166
filterwp_check_filetype_and_extosm.php:167
actionpost-upload-uiosm.php:324
actionadd_meta_boxesosm.php:340
actionwp_headosm.php:397
actionadmin_headosm.php:398
actionadmin_menuosm.php:399
actionwp_enqueue_scriptsosm.php:400
actionwp_enqueue_scriptsosm.php:401
actionwidgets_initosm.php:402
actionplugins_loadedosm.php:405
Maintenance & Trust

OSM – OpenStreetMap Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedApr 11, 2026
PHP min version5.3
Downloads663K

Community Trust

Rating92/100
Number of ratings135
Active installs10K
Developer Profile

OSM – OpenStreetMap Developer Profile

MiKa

1 plugin · 10K total installs

69
trust score
Avg Security Score
86/100
Avg Patch Time
174 days
View full developer profile
Detection Fingerprints

How We Detect OSM – OpenStreetMap

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/osm/css/osm_editor.css/wp-content/plugins/osm/css/osm_map_viewer.css/wp-content/plugins/osm/js/osm_map_viewer.js/wp-content/plugins/osm/js/osm_editor.js/wp-content/plugins/osm/js/leaflet.js/wp-content/plugins/osm/js/Control.Zoom.Steps.js/wp-content/plugins/osm/js/osm_marker_functions.js/wp-content/plugins/osm/js/markerclusterer.js+25 more
Script Paths
/wp-content/plugins/osm/js/osm_map_viewer.js/wp-content/plugins/osm/js/osm_editor.js/wp-content/plugins/osm/js/leaflet.js/wp-content/plugins/osm/js/Control.Zoom.Steps.js/wp-content/plugins/osm/js/osm_marker_functions.js/wp-content/plugins/osm/js/markerclusterer.js+25 more

HTML / DOM Fingerprints

CSS Classes
osm_maposm-custom-markerosm-infobox-containerosm-infobox-titleosm-infobox-contentosm-editor-maposm-editor-sidebarosm-editor-layer-list+17 more
HTML Comments
<!-- OSM Plugin --><!-- OSM Plugin - Initialize Map --><!-- OSM Plugin - Map Options --><!-- OSM Plugin - Marker Options -->+31 more
Data Attributes
data-osm-latdata-osm-londata-osm-zoomdata-osm-marker-icondata-osm-marker-titledata-osm-marker-content+3 more
JS Globals
osm_map_viewer_optionsosm_editor_optionsosm_map_viewerosm_editor
REST Endpoints
/wp-json/osm/v1/save_geotag/wp-json/osm/v1/get_geotag/wp-json/osm/v1/delete_geotag
Shortcode Output
[map][osm_map][locations][osm_locations]
FAQ

Frequently Asked Questions about OSM – OpenStreetMap