# CVE-2020-26211: 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.10%, higher than 66% of CVEs (2026-12-01)
- Published: 2020-11-03T21:00:18.000Z
- Modified: 2026-09-10T03:49:22.170Z
- Also known as: GHSA-ch37-ch8w-cfrq, GHSA-r2cf-8778-3jgp
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## Description

In BookStack before version 0.30.4, a user with permissions to edit a page could insert JavaScript code through the use of `javascript:` URIs within a link or form which would run, within the context of the current page, when clicked or submitted. Additionally, a user with permissions to edit a page could insert a particular meta tag which could be used to silently redirect users to a alternative location upon visit of a page. Dangerous content may remain in the database but will be removed before being displayed on a page. If you think this could have been exploited the linked advisory provides a SQL query to test. As a workaround without upgrading, 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 BookStack version 0.30.4.

(As written by CVE List.)

## Affected

- BookStackApp BookStack: < 0.30.4; before 0.30.4
- ssddanbrown/bookstack (Packagist): 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`
- GitHub: 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: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/releases/tag/v0.30.4> (release-notes, third-party-advisory, web)
- <https://github.com/BookStackApp/BookStack/security/advisories/GHSA-r2cf-8778-3jgp> (third-party-advisory, web)
- <https://github.com/BookStackApp/BookStack/commit/bbd1384acbe7e52c21f89af69f2dc391c95dbf54> (patch, third-party-advisory, web)
- <https://www.bookstackapp.com/blog/beta-release-v0-30-4/> (patch, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-26211> (advisory)
- <https://github.com/BookStackApp/BookStack> (package)
- <https://www.bookstackapp.com/blog/beta-release-v0-30-4> (web)

## Sources

- CVE List: [CVE-2020-26211](https://www.cve.org/CVERecord?id=CVE-2020-26211), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-ch37-ch8w-cfrq](https://github.com/advisories/GHSA-ch37-ch8w-cfrq), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-26211](https://nvd.nist.gov/vuln/detail/CVE-2020-26211), Public domain, modified 2026-06-17

---

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