LiveActive security incident?Get immediate response
CVE Record

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

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

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Leaflet Map for WordPress before 3.0.0 could let an attacker trick a logged-in administrator into saving unsafe plugin settings. Those settings could later cause script execution on pages containing embedded maps, creating stored XSS risk for the site and its visitors.

Executive priority

Treat as a targeted website integrity issue, not an internet-wide emergency. Prioritize updates on public WordPress sites using this plugin, especially sites with high traffic, privileged administrators, or sensitive visitor interactions.

Technical view

The plugin failed to verify a CSRF nonce when saving settings. A forged admin-side settings update could change the JavaScript library URL or attribution content, leading to stored cross-site scripting on pages where the plugin renders embedded maps.

Likely exposure

Exposure is limited to WordPress sites using the Leaflet Map plugin before 3.0.0, especially sites with embedded maps and administrators who may browse attacker-controlled content while authenticated.

Exploitation context

The provided sources do not show KEV listing or active exploitation. Exploitation requires a logged-in administrator to be induced into a forged settings update, after which malicious settings may affect map-bearing pages.

Researcher notes

The source data gives no CVSS score and no exploitation evidence. The core issue combines missing CSRF protection with stored XSS through settings that influence external JavaScript loading or attribution rendering.

Mitigation direction

  • Update Leaflet Map to version 3.0.0 or later where available.
  • Review plugin settings for unexpected JavaScript library URLs or attribution content.
  • Restrict WordPress administrator access to trusted users only.
  • Check vendor or WPScan guidance for any additional remediation details.

Validation and detection

  • Inventory WordPress sites for the Leaflet Map plugin and installed version.
  • Confirm affected sites are not running versions before 3.0.0.
  • Inspect map plugin settings for untrusted external script URLs.
  • Review pages with embedded maps for unexpected script execution indicators.
Prepared
Confidence
high
Sources
3

Public sources used

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-352: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-24467 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
UnknownLeaflet Map3.0.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-352 · source CWE mapping

Cross-Site Request Forgery (CSRF)

Cross-Site Request Forgery (CSRF) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.