CVE-2025-23205
MEDIUM 6.9CVSS 4.0nbgrader's `frame-ancestors: self` grants all users access to formgrader
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).
- Published
- 17 Jan 2025
- Last modified
- 7 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1021CWE-668
- Also known as
- GHSA-fcr8-4r9f-r66mPYSEC-2026-1692
- Sources
- NVDJSONOSV GHSA-fcr8-4r9f-r66mJSONOSV PYSEC-2026-1692JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | nbgrader | >= 0.9.4, < 0.9.5 | 0.9.5 |
References
- https://github.com/jupyter/nbgrader/commit/73e137511ac1dc02e95790d4fd6d4d88dab42325 · WEB
- https://github.com/jupyter/nbgrader/pull/1915 · WEB
- https://github.com/jupyter/nbgrader/security/advisories/GHSA-fcr8-4r9f-r66m · WEB
- https://jupyterhub.readthedocs.io/en/stable/explanation/websecurity.html#:~:text=frame-ancestors
- https://nvd.nist.gov/vuln/detail/CVE-2025-23205 · ADVISORY
- https://github.com/jupyter/nbgrader · PACKAGE
- https://jupyterhub.readthedocs.io/en/stable/explanation/websecurity.html · WEB
- https://pypi.org/project/nbgrader · PACKAGE
- https://github.com/advisories/GHSA-fcr8-4r9f-r66m · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 17 Jan 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 Jan 2025)