{"id":"GHSA-ch57-39q2-4crm","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","PYSEC-2026-2618"],"modified":"2026-07-13T16:42:34.586982995Z","published":"2026-06-03T21:06:27Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-06-03T21:06:27Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"MODERATE"},"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"}],"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/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-ch57-39q2-4crm/GHSA-ch57-39q2-4crm.json"}}],"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"}]}