# CVE-2019-19596: GitBook allows Cross-site Scripting via a local .md file.

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/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): 0.72%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-12-05T02:52:56.000Z
- Modified: 2026-06-17T02:26:55.300Z
- Also known as: GHSA-hwgp-c653-6684
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

GitBook through 2.6.9 allows XSS via a local .md file.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gitbook (npm): up to 2.6.9
- gitbook gitbook: up to 2.6.9

## Every score

- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/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/ianxtianxt/gitbook-xss/> (exploit, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-19596> (advisory)
- <https://github.com/ianxtianxt/gitbook-xss> (web)

## Sources

- CVE List: [CVE-2019-19596](https://www.cve.org/CVERecord?id=CVE-2019-19596), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-hwgp-c653-6684](https://github.com/advisories/GHSA-hwgp-c653-6684), CC-BY-4.0, modified 2024-04-22
- NVD: [CVE-2019-19596](https://nvd.nist.gov/vuln/detail/CVE-2019-19596), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-19596 · Whole record: https://cve.day/CVE-2019-19596.json · Rebuilt by cve.day 2026-11-25T22:57:48.435Z
