CVE-2025-23205: nbgrader formgrader content extraction via malicious links
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-23205
- Published
- Record updated
- Affected
- nbgrader = 0.9.4
- Fixed in
- 0.9.5
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
CVE-2025-23205 affects nbgrader, a system for assigning and grading notebooks. Enabling frame-ancestors: 'self' (introduced by #1915) lets a JupyterHub user, Alice, craft a page that embeds formgrader in an IFrame, so when Bob visits it his credentials are sent and formgrader loads. Because the page shares an origin with the formgrader iframe, Alice's JavaScript gains full access to the content formgrader serves under Bob's credentials, which allows extraction of formgrader content; this applies at least under the default JupyterHub setting enable_subdomains = False.
Mitigation
Fixed in release 0.9.5, and all users are advised to upgrade. Users unable to upgrade may disable frame-ancestors: self, or set JupyterHub.enable_subdomains = True, which prevents the host page from accessing the contents of the frame even if embedding is allowed.
Related items
- MediumCVE-2026-143864: InfiniFlow RAGFlow template injection in Canvas StringTransform HandlerSimilar attack, NVD/CVE Database
- MediumCVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub ActionsSimilar attack, StepSecurity Blog
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database