Leaflet Map Security & Risk Analysis

wordpress.org/plugins/leaflet-map

Interactive maps and markers on your posts and pages with simple shortcodes.

30K active installs v3.4.4 PHP + WP 4.6+ Updated Mar 16, 2026
interactiveleafletmapmapquestopenstreetmap
95
A · Safe
CVEs total4
Unpatched0
Last CVEFeb 15, 2026
Safety Verdict

Is Leaflet Map Safe to Use in 2026?

Generally Safe

Score 95/100

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

4 known CVEsLast CVE: Feb 15, 2026Updated 2mo ago
Risk Assessment

The leaflet-map plugin v3.4.4 presents a mixed security profile. On the positive side, the plugin exhibits good practices in several key areas, including the complete absence of SQL queries that are not prepared and a lack of known unpatched vulnerabilities. The attack surface appears to be minimal, with no identified AJAX handlers, REST API routes, shortcodes, or cron events that are directly exposed to external input without authentication. However, significant concerns arise from the static analysis. The low percentage of properly escaped output (13%) is a major red flag, indicating a high risk of Cross-Site Scripting (XSS) vulnerabilities, especially given that XSS has been a common vulnerability type in its history. Furthermore, a taint analysis revealed one flow with unsanitized paths, suggesting a potential for path traversal or other file-related vulnerabilities, even though it was not classified as critical or high severity.

Key Concerns

  • Low percentage of properly escaped output
  • Taint flow with unsanitized paths
  • History of Cross-Site Scripting vulnerabilities
  • History of Cross-Site Request Forgery vulnerabilities
Vulnerabilities
4 published

Leaflet Map Security Vulnerabilities

CVEs by Year

2 CVEs in 2021
2021
1 CVE in 2023
2023
1 CVE in 2026
2026
Patched Has unpatched

Severity Breakdown

Medium
4

4 total CVEs

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

Leaflet Map <= 3.4.4 - Authenticated (Contributor+) Stored Cross-Site Scripting

Feb 15, 2026 Patched in 3.4.5 (79d)
CVE-2023-5050medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Leaflet Map <= 3.3.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode

Sep 20, 2023 Patched in 3.3.1 (125d)
CVE-2021-24468medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Leaflet Map <= 2.23.3 - Contributor+ Stored Cross-Site Scripting

Jul 1, 2021 Patched in 3.0.0 (936d)
CVE-2021-24467medium · 6.1Cross-Site Request Forgery (CSRF)

Leaflet Map < 3.0.0 - Cross-Site Request Forgery to Stored Cross-Site Scripting

Jul 1, 2021 Patched in 3.0.0 (936d)
Version History

Leaflet Map Release Timeline

Code Analysis
Analyzed Mar 16, 2026

Leaflet Map Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
72
11 escaped
Nonce Checks
1
Capability Checks
1
File Operations
1
External Requests
2
Bundled Libraries
0

Output Escaping

13% escaped83 total outputs
Data Flows · Security
1 unsanitized

Data Flow Analysis

1 flows1 with unsanitized paths
<settings> (templates\settings.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Leaflet Map Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionadmin_initclass.admin.php:49
actionadmin_menuclass.admin.php:50
actionadmin_enqueue_scriptsclass.admin.php:51
actionplugins_loadedclass.leaflet-map.php:133
actionwp_enqueue_scriptsclass.leaflet-map.php:135
filterthe_excerptclass.leaflet-map.php:141
actioninitleaflet-map.php:42
Maintenance & Trust

Leaflet Map Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 16, 2026
PHP min version
Downloads523K

Community Trust

Rating98/100
Number of ratings58
Active installs30K
Developer Profile

Leaflet Map Developer Profile

bozdoz

1 plugin · 30K total installs

76
trust score
Avg Security Score
95/100
Avg Patch Time
519 days
View full developer profile
Detection Fingerprints

How We Detect Leaflet Map

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/leaflet-map/style.css/wp-content/plugins/leaflet-map/scripts/shortcode-helper.js/wp-content/plugins/leaflet-map/scripts/shortcode-helper.min.js
Script Paths
scripts/shortcode-helper.jsscripts/shortcode-helper.min.js
Version Parameters
leaflet-map/style.css?ver=shortcode-helper.js?ver=shortcode-helper.min.js?ver=

HTML / DOM Fingerprints

CSS Classes
leaflet-map-container
Data Attributes
data-leaflet-map-options
JS Globals
LeafletMap
Shortcode Output
[leaflet-map][leaflet-geojson][leaflet-image][leaflet-kml]
FAQ

Frequently Asked Questions about Leaflet Map