Advisory

PYSEC-2026-1482

Also known as: BIT-jupyterlab-2025-59842, CVE-2025-59842, GHSA-vvfj-2jqx-52jm

Summary

JupyterLab LaTeX typesetter links did not enforce noopener attribute

Details

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

Severity

Not rated by the source.

Dates

Published
2026-07-07 16:03 UTC
Modified
2026-07-07 17:57 UTC

Affected packages and fixes

jupyterlab

PyPI · All systems

Affected

  • introduced 0, fixed 4.4.8 (ecosystem)

Fixed versions

4.4.8

Fix

  • Fixed version 4.4.8
    pip install --upgrade jupyterlab==4.4.8

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