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-2021-40690 Vulnerability in maven package org.apache.santuario:xmlsec
CVE-2018-11696 Vulnerability in maven package org.webjars.npm:node-sass
CVE-2023-26486 Vulnerability in maven package org.webjars.npm:vega-functions
CVE-2018-6561 Vulnerability in maven package org.webjars.bowergithub.dojo:dijit