Live threats

All CVEs / bookstackapp

CVE-2026-84695bookstackapp bookstack

Stored cross-site scripting in drawing upload endpoint in BookStack

Critical 9.3

Priority
56
CVSS 4.0
9.3
EPSS
—
Auth required
Yes
Published
Sep 2, 2026
Updated
Sep 8, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

BookStack before version 26.05.4 contains a stored cross-site scripting vulnerability in the drawing upload endpoint that accepts unvalidated base64 content. 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.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 26.05.4

Update BookStack to version 26.05.4 or later to apply content validation in the drawing upload endpoint.

Vendor advisory · www.bookstackapp.com ↗

  1. Apply the vendor's security update for bookstack.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.