Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1mY3I4LTRyOWYtcjY2bc4ABDgt

nbgrader's `frame-ancestors: self` grants all users access to formgrader

Impact

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.

Workarounds

References

JupyterHub documentation on why and when frame-ancestors: self is insecure, and why it was disabled by default: https://jupyterhub.readthedocs.io/en/stable/explanation/websecurity.html#:~:text=frame-ancestors

Permalink: https://github.com/advisories/GHSA-fcr8-4r9f-r66m
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1mY3I4LTRyOWYtcjY2bc4ABDgt
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 12 days ago
Updated: 12 days ago


EPSS Percentage: 0.00045
EPSS Percentile: 0.17681

Identifiers: GHSA-fcr8-4r9f-r66m, CVE-2025-23205
References: Repository: https://github.com/jupyter/nbgrader
Blast Radius: 0.0

Affected Packages

pypi:nbgrader
Dependent packages: 5
Dependent repositories: 91
Downloads: 6,765 last month
Affected Version Ranges: = 0.9.4
Fixed in: 0.9.5
All affected versions:
All unaffected versions: 0.1.0, 0.2.0, 0.2.1, 0.2.2, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.4.0, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.5.6, 0.6.0, 0.6.1, 0.6.2, 0.7.0, 0.7.1, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5