# CVE-2025-58172: drawnix debug logging cross-site scripting vulnerability

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2025-09-15T16:43:19.368Z
- Modified: 2026-06-17T09:44:00.627Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- plait-board drawnix: < 0.3.0

## References

- <https://github.com/plait-board/drawnix/security/advisories/GHSA-cq57-q8hg-xhxf>
- <https://github.com/plait-board/drawnix/commit/92536e63c1adcc509ac51fdd439d4794c8081c58>

## Sources

- CVE List: [CVE-2025-58172](https://www.cve.org/CVERecord?id=CVE-2025-58172), CVE Terms of Use, modified 2025-09-15
- NVD: [CVE-2025-58172](https://nvd.nist.gov/vuln/detail/CVE-2025-58172), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-58172 · Whole record: https://cve.day/CVE-2025-58172.json · Rebuilt by cve.day 2026-11-25T22:59:04.665Z
