{"id":"PYSEC-2026-2618","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 `\u003cimg src=x onerror=alert(1)\u003e`\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","aliases":["CVE-2026-43980","GHSA-ch57-39q2-4crm"],"modified":"2026-07-13T16:32:12.450350554Z","published":"2026-07-13T15:46:14.341406Z","references":[{"type":"WEB","url":"https://github.com/zenitraM/malla/security/advisories/GHSA-ch57-39q2-4crm"},{"type":"WEB","url":"https://github.com/zenitraM/malla/commit/4086e2b5f61615a813b70b25bc76095083552135"},{"type":"PACKAGE","url":"https://github.com/zenitraM/malla"},{"type":"PACKAGE","url":"https://pypi.org/project/malla"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-ch57-39q2-4crm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43980"}],"affected":[{"package":{"name":"malla","ecosystem":"PyPI","purl":"pkg:pypi/malla"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1.7"}]}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/malla/PYSEC-2026-2618.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"}]}