{"id":"GHSA-5h5r-23r4-m87h","summary":"Cross-Site Scripting in gitbook","details":"Affected versions of `gitbook` do not properly sanitize user input outside of backticks, which may result in cross-site scripting in the online reader.\n\n\n## Recommendation\n\nUpdate to version 3.2.2 or later.","aliases":["CVE-2017-16019"],"modified":"2023-11-08T03:59:00.012902Z","published":"2020-09-01T16:04:39Z","database_specific":{"github_reviewed_at":"2020-08-31T18:12:55Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16019"},{"type":"WEB","url":"https://github.com/GitbookIO/gitbook/issues/1609"},{"type":"WEB","url":"https://www.npmjs.com/advisories/159"}],"affected":[{"package":{"name":"gitbook","ecosystem":"npm","purl":"pkg:npm/gitbook"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.2.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-5h5r-23r4-m87h/GHSA-5h5r-23r4-m87h.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}