Read the docs
TI-2017-11744 Aliases CVE-2017-16019GHSA-5h5r-23r4-m87h

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

VendorProductAffected versionsFixed inStatusSource
HackerOnegitbook node modulebefore 3.2.23.2.2Patch availableCNA
—gitbook (npm)before 3.2.23.2.2Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gitbook:gitbook:*:*:*:*:*:node.js:*:*before 3.2.2VulnerableGitbook
  • cpe:2.3:a:gitbook:gitbook:*:*:*:*:*:node.js:*:* Versions before 3.2.2 Vulnerable ·Gitbook

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

  1. 2026-10-02 Threatist record created from CVE-2017-16019
  2. 2026-10-03 Alias added: GHSA-5h5r-23r4-m87h

References

  • TI-2019-14118 GitBook through 2.6.9 allows XSS via a local .md file. CVSS 3.1MEDIUM 5.4

Sources