CVE-2026-84695: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in bookstackapp bookstack
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.
CVSS v4.0
Score 9.3critical
Affected software
bookstackapp
bookstack
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-84695 is a stored cross-site scripting vulnerability in BookStack prior to version 26.05.4. The vulnerability exists because the drawing upload endpoint accepts base64-encoded SVG files without validating or sanitizing their content. Malicious SVG files containing embedded scripts can be uploaded by users with editor privileges. When administrators view these images through the image gallery API, the scripts execute in their browsers due to missing content-type validation and absence of CSP headers, potentially leading to session hijacking or other script-based attacks.
Potential Impact
An attacker with editor permissions can exploit this vulnerability to execute arbitrary scripts in the context of administrator browsers. This can lead to unauthorized actions performed by administrators, including theft of credentials or session tokens. The vulnerability is critical with a CVSS 4.0 score of 9.3, indicating high impact and ease of exploitation without user interaction beyond the attacker’s own privileges.
Mitigation Recommendations
A fix is available in BookStack version 26.05.4 and later. Users should upgrade to version 26.05.4 or newer to remediate this vulnerability. Until upgraded, restrict editor permissions carefully and avoid accessing untrusted SVG content through the image gallery API. Implementing content-type validation and Content Security Policy headers can also help mitigate exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-01T23:24:15.911Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a977a61acd9273b49923c2c
Added to database: 09/02/2026, 01:22:41 UTC
Last enriched: 09/07/2026, 13:46:21 UTC
Last updated: 10/16/2026, 06:48:19 UTC
Views: 97
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.