CVE-2019-19596: GitBook through 2.6.9 allows XSS via a local .md file.
37
Routine
MEDIUM 5.4UPGRADE
CVE-2019-19596 is a medium-severity flaw (CVSS 5.4) affecting gitbook. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
GitBook through 2.6.9 allows XSS via a local .md file.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.7% (top 46%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2019-12-05 |
| 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
gitbook gitbook UPGRADE
Affected: <= 2.6.9
Fixed in: newer than 2.6.9
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy gitbook || rpm -q gitbook || gitbook --version
2. UPGRADE to newer than 2.6.9 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade gitbook
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade gitbook
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
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-2019-19596?
gitbook: upgrade to newer than 2.6.9. Exact commands for each OS are on this page.
Is CVE-2019-19596 being exploited?
CVE-2019-19596 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-2019-19596 affect?
CVE-2019-19596 affects gitbook. Severity is medium (CVSS 5.4). GitBook through 2.6.9 allows XSS via a local .md file.
How urgent is CVE-2019-19596?
Priority 37/100. Public exploit reference
Related CVEs
- CVE-2017-16019 MEDIUM 6.1 UPGRADE GitBook is a command line tool (and Node.js library) for building beautiful books using GitHub/Git and Markdow