6.1med
CVE-2017-16019
Cross-Site Scripting in gitbook
Also known as GHSA-5h5r-23r4-m87h
Published 8 y ago · modified 4 mo ago · JSON
CVSS
6.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
0.9%
percentile 61%
Public exploits
0
none known
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.
Exploit prediction (EPSS)
0.92% probability of exploitation in the next 30 days, higher than 61% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | gitbook | <3.2.2 | 3.2.2 |
Affected products
- HackerOne gitbook node module
Classification
- Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- nodesecurity.io /advisories/159 · x_refsource_MISC, x_transferred
- github.com /GitbookIO/gitbook/issues/1609 · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2017-16019 · advisory
- npmjs.com /advisories/159 · web
Sources
- CVE List: CVE-2017-16019
- GitHub Advisory: GHSA-5h5r-23r4-m87h
- NVD: CVE-2017-16019
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.