CVE-2026-84695
BookStack before 26.05.4 Stored XSS via Drawing Upload
- State
- Published
- Severity
- 9.3 Critical
- Published
- Sep 2, 2026
- Updated
- Sep 2, 2026
- Reserved
- Sep 1, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N | VulnCheck |
| 3.1 | 8.7 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
bookstackbookstackapp |
|
References
- https://github.com/BookStackApp/BookStackproduct
- Patch Commitpatch
- https://github.com/BookStackApp/BookStack/blob/v26.05.3/app/Uploads/ImageService.phptechnical-description
- BookStack v26.05.4 Release Notesrelease-notes
- https://www.bookstackapp.com/blog/bookstack-release-v26-05-4/vendor-advisory
- VulnCheck Advisory: BookStack before 26.05.4 Stored XSS via Drawing Uploadthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.