{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-40024","published":"2023-08-14T20:15:12.837000Z","last_modified":"2026-06-17T06:15:48.160000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:nexb:scancode.io:*:*:*:*:*:*:*:*","part":"a","vendor":"nexb","product":"scancode.io","version_end_including":"32.5.1"}],"cpes_truncated":false,"vendors":["nexb"],"products":["nexb/scancode.io"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00534,"percentile":0.38594,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-6xcx-gx7r-rccj","ecosystem":"PyPI","name":"scancodeio","purl":"pkg:pypi/scancodeio","ranges":[{"introduced":"0","fixed":"32.5.2"}],"versions":["32.0.1","32.1.0","32.2.0","32.4.0","32.5.0","32.5.1"],"versions_truncated":false},{"advisory":"PYSEC-2026-1905","ecosystem":"PyPI","name":"scancodeio","purl":"pkg:pypi/scancodeio","ranges":[{"introduced":"0","fixed":"32.5.2"}],"versions":["32.0.1","32.1.0","32.2.0","32.4.0","32.5.0","32.5.1"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2023-40024/","html_en":"/en/cve/CVE-2023-40024/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-40024","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-40024"},"untrusted":{"vendor_name":"Nexb","product_name":"Scancode.io","desc_en":"ScanCode.io is a server to script and automate software composition analysis pipelines. In the `/license/` endpoint, the detailed view key is not properly validated and sanitized, which can result in a potential cross-site scripting (XSS) vulnerability when attempting to access a detailed license view that does not exist. Attackers can exploit this vulnerability to inject malicious scripts into the response generated by the `license_details_view` function. When unsuspecting users visit the page, their browsers will execute the injected scripts, leading to unauthorized actions, session hijacking, or stealing sensitive information. This issue has been addressed in release `32.5.2`. Users are advised to upgrade. There are no known workarounds for this vulnerability.","affected":[{"untrusted_vendor":"nexB","untrusted_product":"scancode.io","versions":[]}],"references":[{"url":"https://github.com/nexB/scancode.io/blob/dd7769fbc97c84545579cebf1dc4838214098a11/CHANGELOG.rst#v3252-2023-08-14","tags":["Release Notes"]},{"url":"https://github.com/nexB/scancode.io/security/advisories/GHSA-6xcx-gx7r-rccj","tags":["Exploit","Vendor Advisory"]}]}}