{"id":"GHSA-p6rw-44q7-3fw4","revision":"b2877766d4504b08b4838000bb222122","records":[{"revision":"b2877766d4504b08b4838000bb222122","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-p6rw-44q7-3fw4","aliases":["CVE-2021-41134","PYSEC-2021-428"],"title":"Stored XSS in Jupyter nbdime","description":"### Impact\n\nImproper handling of user controlled input caused a stored cross-site scripting (XSS) vulnerability. All previous versions of nbdime are affected.\n\n### Patches\n\nSecurity patches will be released for each of the major versions of the nbdime packages since version 1.x of the nbdime python package.\n\n#### Python\n- nbdime 1.x: Patched in v. 1.1.1\n- nbdime 2.x: Patched in v. 2.1.1\n- nbdime 3.x: Patched in v. 3.1.1\n\n#### npm\n- nbdime 6.x version: Patched in 6.1.2\n- nbdime 5.x version: Patched in 5.0.2\n- nbdime-jupyterlab 1.x version: Patched in 1.0.1\n- nbdime-jupyterlab 2.x version: Patched in 2.1.1\n\n### For more information\nIf you have any questions or comments about this advisory email us at [security@ipython.org](mailto:security@ipython.org).\n\n\n","state":0,"publishedAt":"2021-11-08T18:09:27+00:00","modifiedAt":"2026-07-08T06:27:23.4295253+00:00","affected":[{"ecosystem":"PyPI","name":"nbdime","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.1.1"}]}],"versions":["0.1.0","0.1.0.dev","0.1.0b1","0.1.1","0.1.2","0.2.0","0.3.0","0.4.0","0.4.1","1.0.0","1.0.0rc0","1.0.0rc1","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.1.0"],"rawVersionEvidence":null},{"ecosystem":"PyPI","name":"nbdime","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"2.0.0"},{"kind":"fixed","version":"2.1.1"}]}],"versions":["2.0.0","2.1.0"],"rawVersionEvidence":null},{"ecosystem":"PyPI","name":"nbdime","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"3.0.0"},{"kind":"fixed","version":"3.1.1"}]}],"versions":["3.0.0","3.1.0"],"rawVersionEvidence":null},{"ecosystem":"npm","name":"nbdime","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"5.0.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"nbdime","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"6.0.0"},{"kind":"fixed","version":"6.1.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"nbdime-jupyterlab","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.0.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"nbdime-jupyterlab","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.0.0"},{"kind":"fixed","version":"2.1.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/jupyter/nbdime/security/advisories/GHSA-p6rw-44q7-3fw4","https://nvd.nist.gov/vuln/detail/CVE-2021-41134","https://github.com/jupyter/nbdime/commit/e44a5cc7677f24b45ebafc756db49058c2f750ea","https://github.com/jupyter/nbdime","https://github.com/pypa/advisory-database/tree/main/vulns/nbdime/PYSEC-2021-428.yaml"],"sourceUrl":"https://github.com/advisories/GHSA-p6rw-44q7-3fw4","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-p6rw-44q7-3fw4","identifiers":["GHSA-p6rw-44q7-3fw4","CVE-2021-41134","PYSEC-2021-428"]},"retained":false,"historicalAffected":[]}],"coverage":[]}