{"id":"CVE-2026-84695","state":"PUBLISHED","title":"BookStack before 26.05.4 Stored XSS via Drawing Upload","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.","publishedAt":"2026-09-02T00:37:51.655Z","updatedAt":"2026-09-02T16:01:37.536Z","severity":{"score":9.3,"label":"Critical","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["bookstackapp bookstack"],"affected":[{"vendor":"bookstackapp","product":"bookstack","packageURL":"pkg:github/BookStackApp/BookStack","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"26.05.4","versionType":"custom"},{"version":"26.05.4","status":"unaffected","versionType":"custom"}],"collectionURL":"https://github.com/BookStackApp/BookStack","repo":"https://github.com/BookStackApp/BookStack"}],"references":["https://github.com/BookStackApp/BookStack","https://github.com/BookStackApp/BookStack/commit/ac0348a79f3ddd004ca87703948cb9c7d19a420a","https://github.com/BookStackApp/BookStack/blob/v26.05.3/app/Uploads/ImageService.php","https://github.com/BookStackApp/BookStack/releases/tag/v26.05.4","https://www.bookstackapp.com/blog/bookstack-release-v26-05-4/","https://www.vulncheck.com/advisories/bookstack-before-26.05.4-stored-xss-via-drawing-upload"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/84xxx/CVE-2026-84695.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-84695","state":"PUBLISHED","datePublished":"2026-09-02T00:37:51.655Z","dateUpdated":"2026-09-02T16:01:37.536Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-09-01T23:24:15.911Z"},"containers":{"cna":{"title":"BookStack before 26.05.4 Stored XSS via Drawing Upload","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"bookstackapp","product":"bookstack","packageURL":"pkg:github/BookStackApp/BookStack","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"26.05.4","versionType":"custom"},{"version":"26.05.4","status":"unaffected","versionType":"custom"}],"collectionURL":"https://github.com/BookStackApp/BookStack","repo":"https://github.com/BookStackApp/BookStack"}],"references":[{"url":"https://github.com/BookStackApp/BookStack","tags":["product"]},{"url":"https://github.com/BookStackApp/BookStack/commit/ac0348a79f3ddd004ca87703948cb9c7d19a420a","tags":["patch"],"name":"Patch Commit"},{"url":"https://github.com/BookStackApp/BookStack/blob/v26.05.3/app/Uploads/ImageService.php","tags":["technical-description"]},{"url":"https://github.com/BookStackApp/BookStack/releases/tag/v26.05.4","tags":["release-notes"],"name":"BookStack v26.05.4 Release Notes"},{"url":"https://www.bookstackapp.com/blog/bookstack-release-v26-05-4/","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/bookstack-before-26.05.4-stored-xss-via-drawing-upload","name":"VulnCheck Advisory: BookStack before 26.05.4 Stored XSS via Drawing Upload","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"NONE","baseScore":9.3,"baseSeverity":"CRITICAL"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-09-02T00:37:51.655Z"},"datePublic":"2026-08-19T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:bookstackapp:bookstack:*:*:*:*:*:*:*:*","versionEndExcluding":"26.05.4"}]}]}],"credits":[{"lang":"en","value":"Emanuele Cervelli","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-02T13:42:25.853414Z","id":"CVE-2026-84695","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-02T16:01:37.536Z"}}]}}}