SecurityContext

CVE-2023-5050: Leaflet Map - Stored XSS

  • Cve: CVE-2023-5050
  • Name: Leaflet Map - Stored XSS
  • Description: The Leaflet Map plugin for WordPress is vulnerable to Stored Cross-Site Scripting via shortcodes in versions up to, and including, 3.3.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers with contributor level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
  • Impact: Attackers can execute arbitrary scripts in users' browsers, potentially leading to session hijacking or defacement.
  • Remediation: Update to version 3.3.1 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: logged_in
  • Requirements: Attacker needs contributor or higher permissions
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00492
  • Epss percentile: 0.43131
  • Assignee: [email protected]
  • Published at: 2023-10-20T07:15:17Z
  • Age in days: 1131
  • Modified at: 2026-06-17T06:47:26Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-5050
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
UrlTags
https://plugins.trac.wordpress.org/changeset/2968965/leaflet-map#file12Patch
https://www.wordfence.com/threat-intel/vulnerabilities/id/3084c9ab-00aa-4b8e-aa46-bd70b335ec77?source=cveThird Party Advisory
https://plugins.trac.wordpress.org/browser/leaflet-map/tags/3.3.0/shortcodes/class.geojson-shortcode.php#L124Issue Tracking

Products

ProductAffectedPlatform boundSourcesUrl
bozdoz:leaflet_map<= 3.3.0nonvd/v1/products/bozdoz/leaflet_map

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts