CVE-2017-16019: GitBook is a command line tool (and Node.js library) for building beautiful books using GitHub/Git and Markdow
CVE-2017-16019 is a medium-severity flaw (CVSS 6.1) affecting gitbook. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.9% (top 40%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2018-06-04 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2017-16019?
gitbook: upgrade to 3.2.2. Exact commands for each OS are on this page.
Is CVE-2017-16019 being exploited?
CVE-2017-16019 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2017-16019 affect?
CVE-2017-16019 affects gitbook. Severity is medium (CVSS 6.1). 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 a
How urgent is CVE-2017-16019?
Priority 41/100. Public exploit reference
Software pages
Node.js vulnerabilities · GitHub vulnerabilities · Git vulnerabilities
Related CVEs
- CVE-2019-19596 MEDIUM 5.4 UPGRADE GitBook through 2.6.9 allows XSS via a local .md file.