# CVE-2020-26210: Cross-Site Scripting in BookStack

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.17%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-11-03T18:20:15.000Z
- Modified: 2026-06-17T03:07:49.733Z
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- BookStackApp BookStack: < 0.30.4; before 0.30.4

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/BookStackApp/BookStack/security/advisories/GHSA-7p2j-4h6p-cq3h> (exploit, third-party-advisory)
- <https://bookstackapp.com/blog/beta-release-v0-30-4/> (exploit, patch, vendor-advisory)
- <https://github.com/BookStackApp/BookStack/commit/349162ea139556b2d25e09e155cec84e21cc9227> (patch, third-party-advisory)
- <https://github.com/BookStackApp/BookStack/releases/tag/v0.30.4> (third-party-advisory)

## Sources

- CVE List: [CVE-2020-26210](https://www.cve.org/CVERecord?id=CVE-2020-26210), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-26210](https://nvd.nist.gov/vuln/detail/CVE-2020-26210), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-26210 · Whole record: https://cve.day/CVE-2020-26210.json · Rebuilt by cve.day 2026-11-25T22:57:55.576Z
