{"id":"CVE-2017-16019","details":"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.","aliases":["GHSA-5h5r-23r4-m87h"],"modified":"2026-07-08T15:11:15.992398Z","published":"2018-06-04T19:29:01.193Z","references":[{"type":"ADVISORY","url":"https://nodesecurity.io/advisories/159"},{"type":"EVIDENCE","url":"https://github.com/GitbookIO/gitbook/issues/1609"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gitbookio/gitbook","events":[{"introduced":"0"},{"fixed":"ad425b9772c73df297cfe9c024e7dd99e9bc4c75"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.2.2"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitbook:gitbook:*:*:*:*:*:node.js:*:*"}}],"versions":["2.6.7","3.1.1","3.2.1","3.2.0","3.2.0-pre.1","3.2.0-pre.0","3.1.0","3.0.3","3.0.2","3.0.1","3.0.0","3.0.0-pre.15","3.0.0-pre.14","3.0.0-pre.13","3.0.0-pre.12","3.0.0-pre.11","3.0.0-pre.10","3.0.0-pre.9","3.0.0-pre.8","3.0.0-pre.7","3.0.0-pre.6","3.0.0-pre.5","3.0.0-pre.4","3.0.0-pre.3","3.0.0-pre.2","3.0.0-pre.1","2.6.6","2.6.5","2.6.4","2.6.3","2.6.2","2.6.1","2.6.0","2.5.2","2.5.1","2.5.0","2.5.0-beta.7","2.5.0-beta.6","2.5.0-beta.5","2.5.0-beta.4","2.5.0-beta.3","2.5.0-beta.2","2.5.0-beta.1","2.4.3","2.4.2","2.4.1","2.4.0","2.3.3","2.3.2","2.3.1","2.3.0","2.2.0","2.1.0","2.0.4","2.0.3","2.0.2","2.0.1","2.0.0","2.0.0-beta.5","2.0.0-beta.4","2.0.0-beta.3","2.0.0-beta.2","2.0.0-beta.1","1.5.0","1.4.2","1.4.1","1.4.0","1.3.4","1.3.3","1.3.2","1.3.1","1.3.0","1.2.0","1.1.1","1.1.0","1.0.3","1.0.2","1.0.1","1.0.0","0.7.1","0.7.0","0.6.3","0.6.2","0.6.1","0.6.0","0.5.6","0.5.5","0.5.4","0.5.3","0.5.2","0.5.1","0.5.0","0.4.8","0.4.7","0.4.6","0.4.5","0.4.4","0.4.3","0.4.2","0.4.1","0.4.0","0.3.2","0.3.1","0.2.4","0.2.3","0.2.2","0.2.1","0.2.0","0.1.2","0.1.0","0.0.4","0.0.3","0.0.2","0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-16019.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}