CVE Professor
/
All CVEs
CVE-2026-131590

CVE-2026-131590 — Hupe13 Extension For Leaflet Map (6.1.3) — CWE-79

HIGH CVSS 7.1 ⚡ EPSS 0.3% NVD

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in hupe13 Extension for Leaflet Map extensions-leaflet-map allows Reflected XSS.This issue affects Extension for Leaflet Map: from n/a through 6.1.3.

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in hupe13 Extension for Leaflet Map extensions-leaflet-map allows Reflected XSS.This issue affects Extension for Leaflet Map: from n/a through 6.1.3.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Changed S:C
Confidentiality Low C:L
Integrity Low I:L
Availability Low A:L
EPSS — Exploit Prediction Scoring System
0.3%
30-day probability
In the 11. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Improper Neutralization of Input During Web Page Generation (CWE‑79)
The hupe13:Extension for Leaflet Map (extensions‑leaflet‑map) renders user‑supplied data directly into the HTML of the map page without any escaping or sanitization.
The flaw is a reflected XSS: a crafted request containing malicious JavaScript is reflected back in the response and executed in the victim’s browser.

Key points from the CVE data

ItemDetail
Affected producthupe13:Extension for Leaflet Map, versions ≤ 6.1.3
CWE79 – Cross‑Site Scripting
CVSS v3.17.1 (High) – AV:N / AC:L / PR:N / UI:R / S:C / C:L / I:L / A:L
AuthenticationNone required (unauthenticated)
User interactionRequired (the victim must load the crafted URL)
ScopeChanged – the XSS can affect the entire web application that hosts the extension, not just the map page

The vulnerability exists because the extension’s template engine (likely a simple PHP/JavaScript mix) inserts the value of a query‑string or form parameter directly into the page without HTML‑encoding it. No server‑side validation or output‑encoding is performed.


⚡ Attack Chain

Note: The exact endpoint and parameter names are not published in the CVE. The following example uses a plausible URL (/leaflet-map) and a generic parameter (layer) that is commonly used by map extensions. If your environment uses a different path or parameter, substitute accordingly.

1. Discovery & Reconnaissance

StepTechniqueTools / Commands
Identify the extensionScan for known files or headers that reveal the extension version.curl -I https://target.com/leaflet-map → look for X-Extension-Version: 6.1.3 or similar.
Confirm vulnerabilitySend a request with a benign payload and inspect the response for echoing.curl "https://target.com/leaflet-map?layer=test" → check if test appears in the HTML.

2. Exploitation

StepActionExample
Craft malicious payloadInsert a <script> tag that will run in the victim’s browser.layer=<script>alert('XSS')</script>
Send requestUse curl or a browser to load the URL.``bash\ncurl "https://target.com/leaflet-map?layer=<script>alert('XSS')</script>" -o /dev/null -s -w "%{http_code}\n"\n``
Verify executionThe victim’s browser will execute the script when the page loads.The alert dialog appears.
Illustrative example – the exact query string may differ. The key is that the payload is reflected in the HTML without escaping.

3. Post‑Exploitation

GoalWhat an attacker can achieve
Session hijackingCapture the victim’s session cookie (document.cookie) and use it to impersonate the user.
Phishing / credential theftInject a fake login form that posts to the attacker’s server.
Drive‑by downloadServe a malicious JavaScript that downloads malware.
Privilege escalationIf the map page has admin controls, the attacker can manipulate them via the injected script.

Because the vulnerability is reflected, the attacker cannot persist a payload on the server; it must be delivered each time the victim visits the crafted URL. However, the impact can be significant if the target is a public site with many users.


🌍 Real World Impact

ImpactCVSS ComponentExplanation
Confidentiality (C:L)The attacker can read the victim’s session cookie or other data visible to the browser.
Integrity (I:L)The attacker can modify the DOM, inject malicious content, or alter user actions.
Availability (A:L)The attacker can cause a denial of service by flooding the site with malicious requests, but this is not a primary vector.

Practical consequences

  • Any user who clicks a malicious link (e.g., in an email, social media, or a compromised site) can have their session hijacked or be tricked into downloading malware.
  • If the map page is part of
[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="hupe13 Extension for Leaflet Map"
CVSS Score
7.1 / 10 · CVSS HIGH
Weakness Types (CWE)
Affected Products (1)
hupe13:Extension for Leaflet Map (6.1.3)
References & Advisories (1)
Related CVEs
9.8
CVE-2026-105104
Use of hard-coded credentials in Elinktek UZ801 4G LTE USB Dongle firmware UFI003S_V03_ZX_DD_250226 and earlie
9.3
CVE-2026-144337
osTicket before 1.17.9 and 1.18.0 before 1.18.5 contains an unauthenticated stored cross-site scripting vulner
9.0
CVE-2026-145039
SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability in the protyle asset picker's render
8.8
CVE-2026-145062
SiYuan 3.8.10 before 3.8.11 fails to escape custom block attribute names from imported .sy.zip files in openFi
8.3
CVE-2026-145038
SiYuan 3.8.8-alpha.4 before 3.8.11 contains a stored cross-site scripting vulnerability because the unused ass
7.5
CVE-2026-145078
SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability because the transactions WebSocket p
7.1
CVE-2026-136044
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Nks Resp