CVE-2025-23205
nbgrader is a system for assigning and grading notebooks. Enabling …
nbgrader is a system for assigning and grading notebooks. Enabling frame-ancestors: 'self' grants any JupyterHub user the ability to extract formgrader content by sending malicious links to users with access to formgrader, at least when using the default JupyterHub configuration of `enable_subdomains = False`. #1915 disables a protection which would allow user Alice to craft a page embedding formgrader in an IFrame. If Bob visits that page, his credentials will be sent and the formgrader page loaded. Because Alice's page is on the same Origin as the formgrader iframe, Javasript on Alice's page has _full access_ to the contents of the page served by formgrader using Bob's credentials. This issue has been addressed in release 0.9.5 and all users are advised to upgrade. Users unable to upgrade may disable `frame-ancestors: self`, or enable per-user and per-service subdomains with `JupyterHub.enable_subdomains = True` (then even if embedding in an IFrame is allowed, the host page does not have access to the contents of the frame).
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/jupyter/nbgrader/commit/73e137511ac1dc02e95790d4fd6d4d88dab42325
- github.com/jupyter/nbgrader/pull/1915
- github.com/jupyter/nbgrader/security/advisories/GHSA-fcr8-4r9f-r66m
- jupyterhub.readthedocs.io/en/stable/explanation/websecurity.html#:~:text=frame-ancestors
- jupyterhub.readthedocs.io/en/stable/explanation/websecurity.html
- nvd.nist.gov/vuln/detail/CVE-2025-23205
- github.com/advisories/GHSA-fcr8-4r9f-r66m
- nvd.nist.gov/vuln/detail/CVE-2025-23205
- cve.org/CVERecord?id=CVE-2025-23205
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.