Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish NODEINFO_APP packet with XSS payload to public MQTT broker
-
Deliverymalla-capture ingests and stores unsanitized node name in SQLite
-
ExploitVictim opens affected dashboard page (map, traceroute, packet detail, or relay analysis)
-
ExecutionBrowser interpolates raw stored string into DOM
-
ImpactArbitrary JavaScript executes in victim browser with no CSP constraints
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be able to publish NODEINFO_APP MQTT packets to the same broker that the malla-capture process is subscribed to - this condition is trivially met against any public Meshtastic MQTT broker (e.g., mqtt.meshtastic.org). A victim must subsequently open one of the four affected dashboard pages in their browser (UI:R). CVSS PR:N confirms no authentication is required to publish the malicious packet. Exploitation is blocked in deployments where malla-capture connects exclusively to a private, access-controlled MQTT broker that the attacker cannot reach. The stored nature of the XSS means the attacker does not need to be online when the victim visits the page - a single publish event can affect all future visitors until the record is removed. |
| Impact | CVSS 6.3 (Medium) with vector AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L. The network attack vector and absence of privilege requirements (PR:N) make injecting the payload trivial for anyone able to publish to a shared MQTT broker, but the stored-XSS model requires a victim to load a dashboard page (UI:R), which is the primary limiting factor on real-world blast radius. No EPSS score was provided in the intelligence data - exploitation probability cannot be quantified. The vulnerability is not listed in CISA KEV, so active exploitation is not confirmed. However, the absence of any CSP in the application significantly amplifies the impact ceiling beyond what the CVSS A:L/C:L/I:L scores suggest: once triggered, the payload can load arbitrary third-party scripts, perform phishing overlays, and cause persistent denial of service of the dashboard. The real-world risk is materially higher for operators exposing malla dashboards to untrusted users or connecting to public MQTT brokers than the moderate CVSS score alone conveys. |
| Exploit ScenarioDerived | An attacker with publish access to any public Meshtastic MQTT broker submits a NODEINFO_APP packet with long_name set to a payload such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 03, 2026
Stored XSS in the malla Meshtastic dashboard (pip/malla <= 0.1.7) allows any unauthenticated participant on a public MQTT broker to execute arbitrary JavaScript in the browser of every dashboard visitor. Meshtastic node names (long_name, short_name) received via MQTT are stored in SQLite without sanitization and interpolated directly into multiple HTML templates and frontend JavaScript files without output escaping. No CSP restrictions are in place, compounding impact. No public exploit identified at time of analysis, though full reproduction steps are published in GHSA-ch57-39q2-4crm.
RemediationAI
An upstream fix is available via commit 4086e2b5f61615a813b70b25bc76095083552135 (https://github.com/zenitraM/malla/commit/4086e2b5f61615a813b70b25bc76095083552135), which replaces HTML string concatenation with DOM API methods and introduces safeUrl/safePath helpers across the affected frontend files. However, the advisory records 'fixed in: None' for a released PyPI package version - a patched pip release has not been confirmed independently, meaning operators must apply the commit manually or build from patched source. As a compensating control, restrict access to the malla dashboard to trusted internal network segments or authenticated users only, since the attack requires a victim to browse the dashboard. Implementing a Content Security Policy (CSP) header that restricts script execution to known origins would substantially reduce impact if patching is delayed - the advisory explicitly notes no CSP is currently present, which is what enables arbitrary third-party script injection. Restricting which MQTT brokers malla-capture connects to (private, controlled brokers rather than public ones) prevents an external attacker from ever injecting a malicious node name into the database.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
malla is a Python pip package (pkg:pip/malla) that captures and visualizes Meshtastic LoRa mesh network traffic ingested from MQTT brokers and stored in SQLite. The root cause is CWE-79 (Stored Cross-Site Scripting): node identity fields from NODEINFO_APP MQTT packets are persisted to the database without sanitization and later interpolated into HTML output via string concatenation - bypassing all output encoding. The commit diff (4086e2b5f61615a813b70b25bc76095083552135) confirms the vulnerable pattern: functions like esc() were used inconsistently and string-built HTML (e.g., innerHTML-style concatenation with raw node names) existed across four locations - src/malla/templates/traceroute_graph.html (~line 832), src/malla/templates/map.html (~lines 945, 1078), src/malla/templates/packet_detail.html (~lines 1402, 1452), and src/malla/static/js/relay_node_analysis.js (~line 124). The fix migrates to DOM API methods (textNode, el()) and introduces safeUrl/safePath helpers that inherently prevent XSS by construction.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Primary rating from Vendor (https://github.com/zenitraM/malla) · only source for this CVE.
CVSS VectorVendor: https://github.com/zenitraM/malla
DescriptionCVE.org
Node names (long_name, short_name) received via MQTT are stored in SQLite without sanitization and rendered into the DOM without escaping. Any participant on a public Meshtastic MQTT broker can set a malicious node name that executes JavaScript in the browser of every Malla dashboard visitor.
Affected files:
- src/malla/templates/traceroute_graph.html (line ~832)
- src/malla/templates/map.html (lines ~945, 1078)
- src/malla/templates/packet_detail.html (lines ~1402, 1452)
- src/malla/static/js/relay_node_analysis.js (line ~124)
Steps to reproduce
- Publish a Meshtastic NODEINFO_APP packet to any public MQTT broker with long_name set to a HTML entity i.e
<img src=x onerror=alert(1)> - Wait for malla-capture to store it
- Open the dashboard
Impact
Allows unauthenticated remote attackers to execute arbitrary JavaScript in the browser, such as:
- Phishing overlays
- Force redirect to malicious websites
- Injection of arbitrary third-party scripts (no CSP restrictions)
- Browser resource abuse
- Persistent dashboard denial of service
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-64171
GHSA-ch57-39q2-4crm
NVD
CVE.org
EPSS
Exploit-DB