{"cve":"CVE-2023-40024","nvd":{"published":"2023-08-14T20:15:12.837","modified":"2026-06-17T06:15:48.160","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/nexB/scancode.io/blob/dd7769fbc97c84545579cebf1dc4838214098a11/CHANGELOG.rst#v3252-2023-08-14","https://github.com/nexB/scancode.io/security/advisories/GHSA-6xcx-gx7r-rccj","https://github.com/nexB/scancode.io/blob/dd7769fbc97c84545579cebf1dc4838214098a11/CHANGELOG.rst#v3252-2023-08-14","https://github.com/nexB/scancode.io/security/advisories/GHSA-6xcx-gx7r-rccj"],"products":["nexb:scancode.io"],"source":"nvd","synced_at":"2026-10-19T21:39:14.809778102+00:00"},"epss":{"cve":"CVE-2023-40024","score":0.00506,"percentile":0.43215,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6xcx-gx7r-rccj","url":"https://osv.dev/vulnerability/GHSA-6xcx-gx7r-rccj","summary":"Scancode.io Reflected Cross-Site Scripting (XSS) in license endpoint","modified":"2026-09-10T03:49:57.536585679Z","packages":[{"ecosystem":"PyPI","name":"scancodeio","purl":"pkg:pypi/scancodeio","ranges":["<32.5.2"],"fixed":["32.5.2"]}]},{"id":"PYSEC-2026-1905","url":"https://osv.dev/vulnerability/PYSEC-2026-1905","summary":"Scancode.io Reflected Cross-Site Scripting (XSS) in license endpoint","modified":"2026-07-07T17:47:51.792846203Z","packages":[{"ecosystem":"PyPI","name":"scancodeio","purl":"pkg:pypi/scancodeio","ranges":["<32.5.2"],"fixed":["32.5.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}