GitHub Advisoryadvisory · PyPI

GHSA-vvfj-2jqx-52jm JupyterLab LaTeX typesetter links did not enforce `noopener` attribute

LOW Published 2025-09-26 Modified 2025-09-26 Official page ↗
Aliases
CVE-2025-59842
Ecosystem
PyPI
Packages
jupyterlab
Severity
Low
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Weaknesses
CWE-1022
Reviewed
2025-09-26

Affected packages

• PyPI jupyterlab: < 4.4.8 → fixed in 4.4.8

Description

Links generated with LaTeX typesetters in Markdown files and Markdown cells in JupyterLab and Jupyter Notebook did not include the `noopener` attribute. This is deemed to have no impact on the default installations. Theoretically users of third-party LaTeX-rendering extensions could find themselves vulnerable to reverse tabnabbing attacks if: • links generated by those extensions included `target=_blank` (no such extensions are known at time of writing) and • they were to click on a link generated in LaTeX (typically visibly different from other links). For consistency with handling on other links, new versions of JupyterLab will enforce `noopener` and `target=_blank` on all links generated by typesetters. The former will harden the resilience of JupyterLab to extensions with lack of secure defaults in link rendering, and the latter will improve user experience by preventing accidental state loss when clicking on links rendered by LaTeX typesetters. Impact Since the official LaTeX typesetter extensions for JupyterLab: `jupyterlab-mathjax` (default), `jupyterlab-mathjax2` and `jupyterlab-katex` do not include the `target=_blank`, there is no impact for JupyterLab users. Patches JupyterLab 4.4.8 Workarounds No workarounds are necessary. References None

Related

Alias · CVE (1)

  • CVE-2025-59842 jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. vulnerability

Weakness · CWE (1)

  • CWE-1022 Use of Web Link to Untrusted Target with window.opener Access weakness

References