Skip to main content
EPSS 0.5%top 61%

CVE-2026-84695: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in bookstackapp bookstack

0
Critical
Published: 09/02/2026 (09/02/2026, 00:37:51 UTC)
Source: CVE Database V5
Vendor/Project: bookstackapp
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
None
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

Affected software

bookstackapp

bookstack

Affected versions
>=0 <26.05.4
GitHub Actionsmore threats →cve
bookstack
pkg:github/bookstack
Affected versions
>=0 <26.05.4

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

AILast updated: 09/07/2026, 13:46:21 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses