CVE-2026-84695 Details
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.
A stored cross-site scripting vulnerability has been identified in BookStack versions prior to 26.05.4. The issue resides in the drawing upload endpoint, which accepts unvalidated base64 content and stores it without proper content inspection. This vulnerability allows attackers with editor permissions to upload SVG files containing scripts. These scripts execute in the browsers of administrators when the images are accessed through the image gallery API, which lacks content-type validation or appropriate Content Security Policy headers.
Users are advised to update to BookStack version 26.05.4 or later, where this vulnerability has been addressed. After updating, it is recommended to check image upload folders for any unexpected non-image content, especially if untrusted users had access to the instance.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 2, 2026CISA-ADP
Assessed Sep 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| BookStack | >= 0, < 26.05.4 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 2, 2026 | CVE Modified | CISA-ADP |
| Sep 2, 2026 | New CVE Received | [email protected] |
Volerion