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

Published Sep 2, 2026
·
Updated

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 Software

1 affected component
BookStack BookStack<26.05.4

Event History

Sep 2, 2026
CVE Published
via MITRE·12:37 AM
Data Sourced
via MITRE·12:37 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 AM
DescriptionSeverityWeakness
Jul 16, 58639
Event
via NVD·12:43 PM

Frequently Asked Questions

1

Who is exposed to this issue?

BookStack instances before 26.05.4 are exposed when users with editor permissions can use the drawing upload endpoint. The stored payload affects administrators who access it through the image gallery API.

2

What access does an attacker need to exploit it?

An attacker needs editor permissions and must convince an administrator to access the malicious uploaded SVG through the image gallery API. Exploitation does not require user interaction beyond the administrator accessing that content.

3

Are default protections sufficient to prevent exploitation?

The affected behavior stores unvalidated base64 drawing content without content inspection. The description also identifies missing content-type validation and CSP headers in the image-gallery access path, so those protections are not present in the vulnerable configuration.

4

What should be prioritized if an immediate upgrade is not possible?

Restrict editor permissions, especially for untrusted users, and prevent administrator access to untrusted drawing uploads through the image gallery API. Review uploaded SVG drawing content for embedded scripts because malicious content may already be stored.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203