CVE-2017-16019 · hackerone
CVE-2017-16019
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.
Published 2018-06-04, last changed 2026-06-17. Weakness: CWE-79.
How to fix
Upgrade to a fixed version: gitbook 3.2.2 (npm). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Timeline
| 2018-06-04 | Published |
| 2020-09-01 | Package advisory GHSA-5h5r-23r4-m87h |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.91% |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-5h5r-23r4-m87h | gitbook (npm) | 3.2.2 |
Also known as: GHSA-5h5r-23r4-m87h
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2019-19596 | 2019-12-05 | 5.4 | same package: gitbook (npm) |
| CVE-2026-133211 | 2026-11-26 | 4.7 | same weakness (CWE-79) from the same CNA (hackerone) |
| CVE-2026-133208 | 2026-11-26 | 6.1 | same weakness (CWE-79) from the same CNA (hackerone) |
| CVE-2026-108565 | 2026-11-11 | 4.7 | same weakness (CWE-79) from the same CNA (hackerone) |
| CVE-2026-108564 | 2026-11-11 | 4.7 | same weakness (CWE-79) from the same CNA (hackerone) |
| CVE-2026-108562 | 2026-11-11 | 5.4 | same weakness (CWE-79) from the same CNA (hackerone) |
| CVE-2026-108561 | 2026-11-11 | 6.1 | same weakness (CWE-79) from the same CNA (hackerone) |
| CVE-2026-108560 | 2026-11-11 | 6.1 | same weakness (CWE-79) from the same CNA (hackerone) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-16019, or call /api/v1/vulnerabilities/CVE-2017-16019. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.