{"schemaVersion":4,"id":"CVE-2025-23205","aliases":["GHSA-fcr8-4r9f-r66m","PYSEC-2026-1692"],"status":"published","duplicateOf":null,"title":"`frame-ancestors: self` grants all users access to formgrader in nbgrader","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).","dates":{"published":"2025-01-17T20:23:21.818Z","modified":"2025-02-06T21:29:22.409Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.6,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0049,"percentile":0.43747,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.0049},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.0047,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0049,"percentile":0.43747}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0049,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0049,"percentile":0.43747}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere","description":"The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/668.html"}],"affected":[{"vendor":"jupyter","product":"nbgrader","name":"nbgrader","label":"nbgrader","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"= 0.9.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"= 0.9.4","startInclusive":true,"end":"= 0.9.4","endInclusive":true}}],"versionsText":"= 0.9.4","eol":null,"hubHref":"/vendor/jupyter/nbgrader"},{"vendor":"PyPI","product":"nbgrader","name":"nbgrader","label":"nbgrader","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/nbgrader","purlType":"pypi","versions":[{"text":"≥ 0.9.4, < 0.9.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.9.4","startInclusive":true,"end":"0.9.5","endInclusive":false}}],"versionsText":"≥ 0.9.4, < 0.9.5","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/jupyter/nbgrader/security/advisories/GHSA-fcr8-4r9f-r66m","label":"github.com/jupyter/nbgrader/security/advisories/GHSA-fcr8-4r9f-r66m","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/jupyter/nbgrader/pull/1915","label":"github.com/jupyter/nbgrader/pull/1915","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/jupyter/nbgrader/commit/73e137511ac1dc02e95790d4fd6d4d88dab42325","label":"github.com/jupyter/nbgrader/commit/73e137511ac1dc02e95790d4fd6d4d88dab42325","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://jupyterhub.readthedocs.io/en/stable/explanation/websecurity.html#:~:text=frame-ancestors","label":"jupyterhub.readthedocs.io/en/stable/explanation/websecurity.html","hostname":"jupyterhub.readthedocs.io","tags":["X Refsource MISC"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23205","label":"nvd.nist.gov/vuln/detail/CVE-2025-23205","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/jupyter/nbgrader","label":"github.com/jupyter/nbgrader","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://jupyterhub.readthedocs.io/en/stable/explanation/websecurity.html","label":"jupyterhub.readthedocs.io/en/stable/explanation/websecurity.html","hostname":"jupyterhub.readthedocs.io","tags":["WEB"]},{"url":"https://pypi.org/project/nbgrader","label":"pypi.org/project/nbgrader","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-fcr8-4r9f-r66m","label":"github.com/advisories/GHSA-fcr8-4r9f-r66m","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-01-17T20:23:21.818Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-06T21:29:22.409Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,69],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.0049,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-02-06T21:29:22.409Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.9,"vector":"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","version":"4.0","headline":true},{"type":"cvss","source":"osv_pypi","date":"2025-02-06T21:29:22.409Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.6,"vector":"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","version":"4.0"},{"type":"cvss","source":"nvd","date":"2025-02-06T21:29:22.409Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.9,"vector":"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","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2025-01-17T21:04:15.430Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.0049,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:55:51.348Z","stale":false,"partial":false}}