Related vulnerabilities

pysec-2022-249
Vulnerability from pysec
Published
2022-08-18 19:15
Modified
2022-08-20 05:32
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).

Impacted products
Name purl
nbconvert pkg:pypi/nbconvert



{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "nbconvert",
        "purl": "pkg:pypi/nbconvert"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.3.0a0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.0.0",
        "4.0.0",
        "4.1.0",
        "4.2.0",
        "4.3.0",
        "5.0.0",
        "5.0.0b1",
        "5.1.0",
        "5.1.1",
        "5.2.1",
        "5.3.0",
        "5.3.1",
        "5.4.0",
        "5.4.1",
        "5.4.1.dev0",
        "5.5.0",
        "5.6.0",
        "5.6.1",
        "6.0.0",
        "6.0.0a0",
        "6.0.0a1",
        "6.0.0a2",
        "6.0.0a3",
        "6.0.0a4",
        "6.0.0a5",
        "6.0.0a6",
        "6.0.0b7",
        "6.0.0rc0",
        "6.0.1",
        "6.0.2",
        "6.0.3",
        "6.0.4",
        "6.0.5",
        "6.0.6",
        "6.0.7",
        "6.1.0",
        "6.1.0rc0",
        "6.1.1b0",
        "6.2.0",
        "6.2.0rc0",
        "6.2.0rc1",
        "6.2.0rc2"
      ]
    }
  ],
  "aliases": [
    "CVE-2021-32862",
    "GHSA-9jmq-rx5f-8jwq",
    "GHSA-h274-fcvj-h2wm"
  ],
  "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).",
  "id": "PYSEC-2022-249",
  "modified": "2022-08-20T05:32:49.275202Z",
  "published": "2022-08-18T19:15:00Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm"
    }
  ]
}