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

Medium 5.3 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2025-58172?

CVE-2025-58172 is a medium-severity vulnerability in plait-board drawnix, published on 15 Sep 2025.

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

Weakness: CWE-79

Which versions are affected by CVE-2025-58172?

How do I fix CVE-2025-58172?

No fix has been published for CVE-2025-58172 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-58172 being exploited?

There is no known exploitation of CVE-2025-58172 in the wild and no public exploit code.

Sources

Also known as GHSA-cq57-q8hg-xhxf.

Is CVE-2025-58172 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free