BookStack before 26.05.4 Stored XSS via Drawing Upload
CVE-2026-84695Published 2 Sep 2026, 00:37 UTC
Real-world risk
2.9/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| bookstackNiche | < 26.05.4 | 26.05.4 |
What to do
Update to a fixed version: 26.05.4.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 18), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.420
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.42 × threat 0.852.856
- Rounded to one decimal between 0.1 and 102.9
Exploitation and evidence timeline
- 2 Sep 2026 Published
- 3 Dec 2026 Risk 2.9 (cvss fallback)
Weakness
CWE-79
References
- https://github.com/BookStackApp/BookStackproduct
- https://github.com/BookStackApp/BookStack/commit/ac0348a79f3ddd004ca87703948cb9c7d19a420apatch
- https://github.com/BookStackApp/BookStack/blob/v26.05.3/app/Uploads/ImageService.phptechnical-description
- https://github.com/BookStackApp/BookStack/releases/tag/v26.05.4release-notes
- https://www.bookstackapp.com/blog/bookstack-release-v26-05-4/vendor-advisory
- https://www.vulncheck.com/advisories/bookstack-before-26.05.4-stored-xss-via-drawing-uploadthird-party-advisory
- CVE-2026-84695 on CVE.org