{"id":"CVE-2023-40170","summary":"cross-site inclusion (XSSI) of files in jupyter-server","details":"jupyter-server is the backend for Jupyter web applications. Improper cross-site credential checks on `/files/` URLs could allow exposure of certain file contents, or accessing files when opening untrusted files via  \"Open image in new tab\". This issue has been addressed in commit `87a49272728` which has been included in release `2.7.2`. Users are advised to upgrade. Users unable to upgrade may use the lower performance `--ContentsManager.files_handler_class=jupyter_server.files.handlers.FilesHandler`, which implements the correct checks.","aliases":["GHSA-64x5-55rw-9974","PYSEC-2023-157"],"modified":"2026-04-10T05:00:41.232319Z","published":"2023-08-28T20:01:57.156Z","related":["CGA-pfh5-mfcm-mjw5","openSUSE-SU-2024:13260-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40170.json","cwe_ids":["CWE-284","CWE-306"],"cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NRP7DNZYVOIA4ZB3U3ZWKTFZEPYWNGCQ/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XDKQAWQN6SQTOVACZNXYKEHWQXGG4DOF/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40170.json"},{"type":"ADVISORY","url":"https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-64x5-55rw-9974"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40170"},{"type":"FIX","url":"https://github.com/jupyter-server/jupyter_server/commit/87a4927272819f0b1cae1afa4c8c86ee2da002fd"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jupyter-server/jupyter_server","events":[{"introduced":"0"},{"fixed":"5a8a47f5ba674d0f758a91cca08e2a9c6eacf224"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.1.0","0.1.1","0.2.0","0.3.0","1.0.0","1.0.0rc1","1.0.0rc10","1.0.0rc11","1.0.0rc12","1.0.0rc13","1.0.0rc14","1.0.0rc15","1.0.0rc16","1.0.0rc2","1.0.0rc3","1.0.0rc4","1.0.0rc5","1.0.0rc6","1.0.0rc7","1.0.0rc8","1.0.0rc9","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.2.0","1.2.1","1.2.2","1.2.3","1.3.0","1.4.0","1.4.1","1.5.0","1.5.1","1.6.0","1.6.1","v1.10.0","v1.10.1","v1.10.2","v1.11.0","v1.11.1","v1.11.2","v1.12.0","v1.12.1","v1.13.0","v1.13.1","v1.13.2","v1.13.3","v1.13.4","v1.13.5","v1.15.0","v1.15.1","v1.15.2","v1.15.3","v1.15.4","v1.15.5","v1.15.6","v1.16.0","v1.6.2","v1.6.3","v1.6.4","v1.7.0","v1.7.0a0","v1.7.0a1","v1.7.0a2","v1.8.0","v1.9.0","v2.0.0","v2.0.0a0","v2.0.0a1","v2.0.0a2","v2.0.0b0","v2.0.0b1","v2.0.0rc0","v2.0.0rc1","v2.0.0rc2","v2.0.0rc3","v2.0.0rc4","v2.0.0rc5","v2.0.0rc6","v2.0.0rc7","v2.0.0rc8","v2.0.1","v2.0.2","v2.0.3","v2.0.4","v2.0.5","v2.0.6","v2.0.7","v2.1.0","v2.2.0","v2.2.1","v2.3.0","v2.4.0","v2.5.0","v2.6.0","v2.7.0","v2.7.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40170.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"}]}