Advisory

PYSEC-2022-249

Also known as: CVE-2021-32862, GHSA-9jmq-rx5f-8jwq, GHSA-h274-fcvj-h2wm

Summary

The record has no summary.

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

Severity

Not rated by the source.

Dates

Published
2022-08-18 19:15 UTC
Modified
2023-11-08 04:06 UTC

Affected packages and fixes

nbconvert

PyPI · All systems

Affected

  • introduced 0, fixed 6.3.0a0 (ecosystem)

Fixed versions

6.3.0a0

Fix

  • Fixed version 6.3.0a0
    pip install --upgrade nbconvert==6.3.0a0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences