BookStack before 26.05.4 Stored XSS via Drawing Upload
bookstackapp bookstack
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| bookstackapp bookstack |
|
|
Original description
BookStack before 26.05.4 contains a stored cross-site scripting vulnerability in the drawing upload endpoint that accepts unvalidated base64 content and stores it without content inspection. Attackers with editor permissions can upload SVG files containing scripts that execute in administrator browsers when accessed through the image gallery API without content-type validation or CSP headers.
From the CVE record · VulnCheck