Cross-site scripting in HackerOne gitbook node module
Priority LOW 29CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
GitBook is a command line tool (and Node.js library) for building beautiful books using GitHub/Git and Markdown (or AsciiDoc). Stored Cross-Site-Scripting (XSS) is possible in GitBook before 3.2.2 by including code outside of backticks in any ebook. This code will be executed on the online reader.
Why it matters now
EPSS 0.00922 60th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed gitbook node module (HackerOne): 3.2.2gitbook (npm): 3.2.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| HackerOne | gitbook node module | before 3.2.2 | 3.2.2 | Patch available | CNA |
| — | gitbook (npm) | before 3.2.2 | 3.2.2 | Patch available | GHSA-5h5r-23r4-m87h |
- gitbook node module VendorHackerOne Affected before 3.2.2 Fixed in 3.2.2 Patch available CNA
- gitbook (npm) Vendor— Affected before 3.2.2 Fixed in 3.2.2 Patch available GHSA-5h5r-23r4-m87h
Remediation
- Fix · CNA gitbook node module (HackerOne) Fixed in 3.2.2
- Fix · GHSA-5h5r-23r4-m87h gitbook (npm) Fixed in 3.2.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2017-16019
- 2026-10-03 Alias added: GHSA-5h5r-23r4-m87h
References
More Gitbook vulnerabilities
- TI-2019-14118 GitBook through 2.6.9 allows XSS via a local .md file. CVSS 3.1MEDIUM 5.4
Sources
- CVE-2017-16019 · CVE Program
- CVE-2017-16019 · NVD
- FIRST EPSS
- GHSA-5h5r-23r4-m87h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences