Description
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.
Remediation
References
https://github.com/GitbookIO/gitbook/issues/1609
https://nodesecurity.io/advisories/159
Related Vulnerabilities
CVE-2018-11693 Vulnerability in maven package org.webjars.npm:node-sass
CVE-2021-32660 Vulnerability in npm package techdocs-common
CVE-2022-25851 Vulnerability in maven package org.webjars.npm:jpeg-js
CVE-2020-15250 Vulnerability in maven package junit:junit
CVE-2023-37259 Vulnerability in npm package matrix-react-sdk