CVE-2025-58172: Drawnix - Stored XSS
- Cve: CVE-2025-58172
- Name: Drawnix - Stored XSS
- Description: drawnix is an all in one open-source whiteboard tool. In drawnix versions through 0.2.1, a cross-site scripting (XSS) vulnerability exists in the debug logging functionality. User controlled content is inserted directly into the DOM via innerHTML without sanitization when the global function __drawnix__web__console is invoked, as shown in apps/web/src/app/app.tsx where div.innerHTML = value is executed. This can allow arbitrary JavaScript execution in the context of the application if an attacker can cause untrusted data to be passed to the debug logger (for example via a malicious extension or other injection vector), potentially exposing user data or enabling unauthorized actions. The issue is fixed in version 0.3.0. Updating to 0.3.0 or later is recommended. No known workarounds exist.
- Impact: Attackers can execute arbitrary JavaScript, potentially exposing user data or enabling unauthorized actions.
- Remediation: Update to version 0.3.0 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec, information_disclosure
- Requirements: Attacker must inject untrusted data into the debug logger, e.g., via malicious extension.
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Epss score: 0.0046
- Epss percentile: 0.40418
- Assignee: [email protected]
- Published at: 2025-09-15T17:15:35Z
- Age in days: 435
- Modified at: 2026-06-17T09:44:00Z
- References total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-58172
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/plait-board/drawnix/commit/92536e63c1adcc509ac51fdd439d4794c8081c58 | nvd | |
| https://github.com/plait-board/drawnix/security/advisories/GHSA-cq57-q8hg-xhxf | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| plait-board/drawnix | commit, fix, security_advisory | yes | /v1/repositories/plait-board/drawnix |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts