# CVE-2021-32862: nbconvert vulnerable to cross-site scripting (XSS) via multiple exploit paths

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-08-18 · Modified: 2024-09-02
- Aliases: GHSA-9jmq-rx5f-8jwq, GHSA-h274-fcvj-h2wm, PYSEC-2022-249, UBUNTU-CVE-2021-32862, DEBIAN-CVE-2021-32862, DLA-3442-1, DLA-3863-1, CGA-pv9g-fg7v-q335
- Record: https://cvemate.com/vulnerability/CVE-2021-32862 · JSON: https://cvemate.com/vulnerability/CVE-2021-32862/json

## Description

```text
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).
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.52%, percentile 75.454%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard kubeflow-pipelines-visualization-server (Chainguard): \< 2.4.0-r0
- wolfi kubeflow-pipelines-visualization-server (Wolfi): \< 2.4.0-r0
- debian nbconvert (Debian): \< 6.5.1-1 \| \< 5.4-2+deb10u1 \| \< 5.6.1-3+deb11u1
- ubuntu nbconvert (Ubuntu): All versions (No fix recorded) \| \< 5.3.1-1ubuntu0.1~esm3 \| \< 5.6.1-1ubuntu0.1~esm3 \| \< 6.4.0-1ubuntu0.1~esm3
- debian debian\_linux: 10.0
- jupyter nbconvert: ≤ 6.2 \| ≤ 6.2.0
- PyPI nbconvert (PyPI): \< 6.5.1 \| \< 6.3.0a0

## References

- <https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq>
- <https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm>
- <https://lists.debian.org/debian-lts-announce/2023/06/msg00003.html>
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00004.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32862>
- <https://github.com/jupyter/nbconvert>
- <https://github.com/pypa/advisory-database/tree/main/vulns/nbconvert/PYSEC-2022-249.yaml>
- <https://ubuntu.com/security/CVE-2021-32862>
- <https://www.cve.org/CVERecord?id=CVE-2021-32862>
- <https://security-tracker.debian.org/tracker/CVE-2021-32862>
- <https://ubuntu.com/security/notices/USN-9230-1>

---

Data as of 2026-12-05T06:22:14.621Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
