CVE-2020-26210 json
Cross-Site Scripting in BookStack
published 6y ago modified 4mo ago also EUVD-2020-18835
- cvss
- 7.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
Summary
In BookStack before version 0.30.4, a user with permissions to edit a page could add an attached link which would execute untrusted JavaScript code when clicked by a viewer of the page. Dangerous content may remain in the database after this update. If you think this could have been exploited the linked advisory provides a SQL query to test. As a workaround, page edit permissions could be limited to only those that are trusted until you can upgrade although this will not address existing exploitation of this vulnerability. The issue is fixed in version 0.30.4.
Patch / fix
- bookstackapp bookstack 0.30.4
Is CVE-2020-26210 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.17% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bookstackapp.com https://bookstackapp.com/blog/beta-release-v0-30-4/ referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/BookStackApp/BookStack/security/advisories/GHSA-7p2j-4h6p-cq3h referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected products
- BookStackApp BookStack
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/BookStackApp/BookStack/commit/349162ea139556b2d25e09e155cec84e21cc9227
patch, third-party-advisory
-
bookstackapp.com
/blog/beta-release-v0-30-4/
exploit, patch, vendor-advisory
-
github.com
/BookStackApp/BookStack/security/advisories/GHSA-7p2j-4h6p-cq3h
exploit, third-party-advisory
-
github.com
/BookStackApp/BookStack/releases/tag/v0.30.4
third-party-advisory
Sources
- CVE List CVE-2020-26210
- NVD CVE-2020-26210
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.