Descrizione
jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. Prior to version 4.4.8, 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). This issue has been patched in version 4.4.8.
Tipo di vulnerabilità
CWE-1022
Use of Web Link to Untrusted Target with window.opener Access
The web application produces links to untrusted external sites outside of its sphere of control, but it does not properly prevent the external site from modifying security-critical properties of the window.opener object, such as the location property.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Alterare la logica di esecuzione |
Come si previene
Architettura e progettazione
Specify in the design that any linked external document must not be granted access to the location object of the calling page.
Sviluppo
When creating a link to an external document using the <a> tag with a defined target, for example _blank or a named frame, provide the rel attribute with a value noopener noreferrer. If opening the external document in a new window via javascript, then reset the opener by setting it equal to null.
Sviluppo
Do not use _blank targets. However, this can affect the usability of the application.
Tutte le 12 CVE di tipo CWE-1022, con andamento e prevenzione