llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · jupyterlab

GHSA-VMHF-C436-HXJ4

JupyterLab: Stored XSS in extension manager through package metadata unsanitized URI protocol

Parche disponible
Descargar PNG JSON
CVSS
—
medium
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -2 d de la divulgación
Exposición155 dDesde la divulgación, 19 jun 2026, 10:11 a. m.
Detección150 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de la severidad declarada por GHSA (media) y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Tu backlog la recibirá con los brazos abiertos.Ni el CISO se despertaría por esta.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 4.5.9
Monitoreo
Detectada
17 jun 26
19 jun 26
14 oct 26
17 nov 26
22 nov 26
17 jun 26
27 jul 26
4 sept 26
13 oct 26
22 nov 26
FechaFaseEventoDetalle
Remediación Parche 4.5.9 jupyterlab · -2 d desde divulgación
Divulgación Publicada GHSA-VMHF-C436-HXJ4 divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
GitHub

A malicious PyPI package can place a `javascript:` URL in its `[project.urls]` metadata. JupyterLab's Extension Manager renders this as the extension's home-page link without validating the protocol, so a user who clicks the extension name executes attacker-controlled JavaScript in the JupyterLab origin.

Details

One of the PyPI package's URL (jupyterlab/extensions/pypi.py) is copied straight into the `homepage_url` rendered by the frontend in packages/extensionmanager/src/widget.tsx#L77-L88.

best_guess_home_url = (
    homepage_url            # home_page / [project.urls] Homepage
    or data.get("project_url")
    or data.get("package_url")
    or documentation_url    # docs_url / [project.urls] Documentation
    or source_url           # [project.urls] Source Code
    or bug_tracker_url      # bugtrack_url / [project.urls] Bug Tracker
)

# homepage_url=best_guess_home_url
{entry.homepage_url ? (
  <a href={entry.homepage_url} target="_blank" rel="noopener noreferrer" ...>
    {entry.name}
  </a>
) : ( <div>{entry.name}</div> )}
Impact

An attacker needs to publish a package to PyPI (no access to the target). When the package appears in a victim's extension manager list and the victim clicks the extension name, the payload runs in the JupyterLab origin.

Preconditions: Extension Manager enabled with the default PyPI source, the malicious package appears in the victim's list/search results.

### Patches
Patched in 4.5.9 https://github.com/jupyterlab/jupyterlab/releases/tag/v4.5.9, commits 4e61e07 https://github.com/jupyterlab/jupyterlab/commit/4e61e07d0a91145b53fbf96ac74b0387f6bc51f6 and d5d961f https://github.com/jupyterlab/jupyterlab/commit/d5d961f6e10a6442dddbf94d9a976b3897055a12

Versiones

Rangos afectados

Afectada Corregida Última
jupyterlab< 4.5.9
4.5.9
4.6.6
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypijupyterlab
Corregida 4.5.9 -2 d 4.6.6 no afectada
Versiones corregidas4.5.9
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Otrahttps://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-vmhf-c436-hxj4
Otrahttps://github.com/jupyterlab/jupyterlab/commit/4e61e07d0a91145b53fbf96ac74b0387f6bc51f6
Otrahttps://github.com/jupyterlab/jupyterlab/commit/d5d961f6e10a6442dddbf94d9a976b3897055a12
Otrahttps://github.com/jupyterlab/jupyterlab
Otrahttps://github.com/jupyterlab/jupyterlab/releases/tag/v4.5.9

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.