cve/2021/CVE-2021-32862.md
2024-06-18 02:51:15 +02:00

18 lines
971 B
Markdown

### [CVE-2021-32862](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32862)
![](https://img.shields.io/static/v1?label=Product&message=nbconvert&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%3A%20Improper%20Neutralization%20of%20Input%20During%20Web%20Page%20Generation%20('Cross-site%20Scripting')&color=brighgreen)
### Description
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).
### POC
#### Reference
- https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq
#### Github
No PoCs found on GitHub currently.