{"id":"CVE-2026-43980","aliases":["GHSA-ch57-39q2-4crm","PYSEC-2026-2618"],"url":"https://o3.security/vulnerability/CVE-2026-43980","summary":"Malla: Stored XSS via Meshtastic node names in multiple frontend pages","details":"Node names (long_name, short_name) received via MQTT are stored in SQLite without sanitization and rendered into the DOM without escaping.\nAny participant on a public Meshtastic MQTT broker can set a malicious node name that executes JavaScript in the browser of every Malla dashboard visitor.\n\nAffected files:\n\n - src/malla/templates/traceroute_graph.html (line ~832)\n - src/malla/templates/map.html (lines ~945, 1078)\n - src/malla/templates/packet_detail.html (lines ~1402, 1452)\n - src/malla/static/js/relay_node_analysis.js (line ~124)\n\nSteps to reproduce\n\n 1. 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)>`\n 2. Wait for malla-capture to store it\n 3. Open the dashboard\n\nImpact\n\nAllows unauthenticated remote attackers to execute arbitrary JavaScript in the browser, such as: \n\n - Phishing overlays\n - Force redirect to malicious websites\n - Injection of arbitrary third-party scripts (no CSP restrictions)\n - Browser resource abuse \n - Persistent dashboard denial of service","published":"2026-08-21T21:17:45.430Z","modified":"2026-10-14T02:31:09.173552072Z","cvss":{"score":6.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"malla","fixedVersion":null}],"fix":{"url":"https://github.com/zenitraM/malla/commit/4086e2b5f61615a813b70b25bc76095083552135","label":"zenitraM/malla@4086e2b"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43980.json"},{"type":"ADVISORY","url":"https://github.com/pypa/advisory-database/tree/main/vulns/malla/PYSEC-2026-2618.yaml"},{"type":"ADVISORY","url":"https://github.com/zenitraM/malla/security/advisories/GHSA-ch57-39q2-4crm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43980"},{"type":"FIX","url":"https://github.com/zenitraM/malla/commit/4086e2b5f61615a813b70b25bc76095083552135"},{"type":"PACKAGE","url":"https://github.com/zenitraM/malla"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-14T02:31:09.173552072Z"}}