BookStack
BookStack before 26.05.4 Stored XSS via Drawing Upload
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.3critical · scored by CNA · CWE-79
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
bookstackapp bookstack
- < 26.05.4
Fixed in 26.05.4
Mitigation
Upgrade bookstack to 26.05.4 or later.
References
- Patch github.com/BookStackApp/BookStack/commit/ac034…
- Release notes github.com/BookStackApp/BookStack/releases/tag…
- Vendor advisory bookstackapp.com/blog/bookstack-release-v26-05-4
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.