{"answers":{"affected":"3 open source packages ship an affected version, including nbgrader.","exploited":"There is no known exploitation of CVE-2025-23205 in the wild and no public exploit code.","fix":"Upgrade nbgrader to 0.9.5 or later.","what":"CVE-2025-23205 is a medium-severity vulnerability in jupyter nbgrader, published on 17 Jan 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-23205 and fix it if it is affected.\n\nWhat it is: CVE-2025-23205 is a medium-severity vulnerability in jupyter nbgrader, published on 17 Jan 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-23205 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- nbgrader (PyPI): affected from 0.9.4; fixed in 0.9.5\n- nbgrader (PyPI): affected from 0.9.4; fixed in 0.9.5\n- nbgrader (PyPI): affected from 0.9.4; fixed in 0.9.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-23205/ (Markdown: https://insights.sbomify.com/CVE-2025-23205/index.md)","id":"CVE-2025-23205","markdown":"https://insights.sbomify.com/CVE-2025-23205/index.md","name":"CVE-2025-23205","record":{"aliases":["GHSA-fcr8-4r9f-r66m","PYSEC-2026-1692"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Jupyter grading tool","requires_auth":"low_privilege","summary":"Attackers can steal grading data from authorized users by exploiting frame-ancestors settings in nbgrader when subdomains are disabled.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","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"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"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).","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"`frame-ancestors: self` grants all users access to formgrader in nbgrader","id":"CVE-2025-23205","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"security_feature_bypass","year":"2025"},"n_packages":3,"n_references":4,"next":{"headline":"IAM OIDC custom resource allows connection to unauthorized OIDC provider in aws-cdk","id":"CVE-2025-23206"},"packages":[{"ecosystem":"PyPI","fixed":["0.9.5"],"introduced":["0.9.4"],"last_affected":[],"package":"nbgrader","purl":null,"source":"GHSA-fcr8-4r9f-r66m"},{"ecosystem":"PyPI","fixed":["0.9.5"],"introduced":["0.9.4"],"last_affected":[],"package":"nbgrader","purl":"pkg:pypi/nbgrader","source":"GHSA-fcr8-4r9f-r66m"},{"ecosystem":"PyPI","fixed":["0.9.5"],"introduced":["0.9.4"],"last_affected":[],"package":"nbgrader","purl":"pkg:pypi/nbgrader","source":"PYSEC-2026-1692"}],"prev":{"headline":"GraphQl securityAfterResolver not called","id":"CVE-2025-23204"},"products":["nbgrader"],"published":"2025-01-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-06","vendors":["jupyter"]},"summary":"Attackers can steal grading data from authorized users by exploiting frame-ancestors settings in nbgrader when subdomains are disabled.","url":"https://insights.sbomify.com/CVE-2025-23205/"}