PyPA Advisory Database
PYSEC-2022-249
Details
The GitHub Security Lab discovered sixteen ways to exploit a cross-site scripting vulnerability in nbconvert. When using nbconvert to generate an HTML version of a user-controllable notebook, it is possible to inject arbitrary HTML which may lead to cross-site scripting (XSS) vulnerabilities if these HTML notebooks are served by a web server (eg: nbviewer).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | nbconvert | All versions before 6.3.0a0 (fixed in 6.3.0a0) |