CVE-2025-23205 json
`frame-ancestors: self` grants all users access to formgrader in nbgrader
published 2025-01-17 21 mo ago modified 2026-07-07 4 mo ago also GHSA-fcr8-4r9f-r66m , PYSEC-2026-1692 , EUVD-2025-0110
- cvss
- 6.9
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- pypi nbgrader 0.9.5
- github.com/jupyter/nbgrader@73e1375 commit
- github.com/jupyter/nbgrader#1915 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | nbgrader | >=0.9.4, <0.9.5 |
0.9.5 |
Affected products
- jupyter nbgrader
Classification
References
-
github.com
/jupyter/nbgrader/pull/1915
web
-
github.com
/jupyter/nbgrader/commit/73e137511ac1dc02e95790d4fd6d4d88dab42325
web
-
github.com
/jupyter/nbgrader/security/advisories/GHSA-fcr8-4r9f-r66m
web
- jupyterhub.readthedocs.io /en/stable/explanation/websecurity.html#:~:text=frame-ancestors
-
nvd.nist.gov
/vuln/detail/CVE-2025-23205
advisory
-
github.com
/jupyter/nbgrader
package
-
jupyterhub.readthedocs.io
/en/stable/explanation/websecurity.html
web
-
pypi.org
/project/nbgrader
package
-
github.com
/advisories/GHSA-fcr8-4r9f-r66m
advisory
Sources
- CVE List CVE-2025-23205
- GitHub Advisory GHSA-fcr8-4r9f-r66m
- NVD CVE-2025-23205
- OSV PYSEC-2026-1692
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.