Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. jupyterlab
  4. ›
  5. CVE-2026-102830

CVE-2026-102830: JupyterLab: Cross-site scripting (XSS) in JupyterLab via crafted language package (jupyterlab.json)

October 1, 2026

A language pack ships a Plural-Forms header saying how the language counts, for example nplurals=2; plural=(n != 1);. JupyterLab turns that string into a function with new Function, so the header gets executed. The check that meant to keep it safe was a regular expression. The regex was anchored at the start but not at the end, so it accepted any string that began with a valid plural rule and ignored everything after it.

A header such as the following passed the check, and the part after the plural rule ran in the JupyterLab page as soon as the first plural string was translated:

nplurals=2; plural=(n > 1); <anything here ran as JavaScript>

Users are affected if all of the following are true:

  • they run JupyterLab 3.0.0 through 4.6.3, or an application that bundles it such as Notebook 7;
  • a language pack they did not write is installed in the environment; and
  • that language is selected, so its catalogue is loaded

An installation using the default English locale loads no catalogue and is not affected.

CVE assignment pending, GitHub CNA is experiencing severe backlog

References

  • github.com/advisories/GHSA-3jqq-pw4j-pqcj
  • github.com/jupyterlab/jupyterlab/commit/985a3223cd77fd4f991cd90066342a90711d70f6
  • github.com/jupyterlab/jupyterlab/commit/de324ae91346c713c4f5e5485f97b6e914e0f774
  • github.com/jupyterlab/jupyterlab/commit/f9de43dc565a1118120d466117f877a189a4ce90
  • github.com/jupyterlab/jupyterlab/releases/tag/v4.5.11
  • github.com/jupyterlab/jupyterlab/releases/tag/v4.6.4
  • github.com/jupyterlab/jupyterlab/security/advisories/GHSA-3jqq-pw4j-pqcj
  • nvd.nist.gov/vuln/detail/CVE-2026-102830

Code Behaviors & Features

Detect and mitigate CVE-2026-102830 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0 before 4.5.11, all versions starting from 4.6.0 before 4.6.4

Fixed versions

  • 4.5.11
  • 4.6.4

Solution

Upgrade to versions 4.5.11, 4.6.4 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-625: Permissive Regular Expression
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/jupyterlab/CVE-2026-102830.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 15 Oct 2026 00:16:40 +0000.