CVE-2025-23205
published medium CVSS 4.0 · 6.9`frame-ancestors: self` grants all users access to formgrader in nbgrader
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jupyter | — | nbgrader= 0.9.4 | Affected | Not stated | GitHub_M |
Description
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jupyter | nbgrader | = 0.9.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-668 CWE-668: Exposure of Resource to Wrong Sphere
References
4- https://github.com/jupyter/nbgrader/commit/73e137511ac1dc02e95790d4fd6d4d88dab42325
- https://github.com/jupyter/nbgrader/pull/1915
- https://github.com/jupyter/nbgrader/security/advisories/GHSA-fcr8-4r9f-r66m
- https://jupyterhub.readthedocs.io/en/stable/explanation/websecurity.html#:~:text=frame-ancestors
Provider assertions
2GitHub_M · cna
`frame-ancestors: self` grants all users access to formgrader in nbgrader
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 84f9a999c511642d32ff30e489fd2bfe471c72976f7ab455daefc9290c1ba943
- Ingested
- 23 Sep 2026, 08:40:42 UTC
- Source record
- Official CVE record