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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HackerOne | gitbook node module | <3.2.2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | gitbook | < 3.2.2 | 3.2.2 | GHSA-5h5r-23r4-m87h |