leaflet@2.0.0-alpha

JavaScript library for mobile-friendly interactive maps

Direct Vulnerabilities

Known vulnerabilities in the leaflet package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable Version
  • M
Cross-site Scripting (XSS)

leaflet is a JavaScript library for mobile-friendly interactive maps

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the bindPopup method. An attacker can execute arbitrary JavaScript code in the context of a user's browser session by injecting malicious event handler attributes into popup content.

How to fix Cross-site Scripting (XSS)?

There is no fixed version for leaflet.

*