What’s Vulnerable › Vulnerabilities

CVE-2026-84695: BookStack before 26.05.4 Stored XSS via Drawing Upload

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.

Affected products

How to fix

Upgrade to a fixed version: bookstackapp/bookstack 26.05.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-84695 or the next vulnerability affects your stack