Reflected Cross-Site Scripting (XSS) in scancode.io license endpoint
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nexB | scancode.io | before 32.5.2 | 32.5.2 | Patch available | CNA |
| — | scancodeio (PyPI) | before 32.5.2 | 32.5.2 | Patch available | GHSA-6xcx-gx7r-rccj |
- scancode.io VendornexB Affected before 32.5.2 Fixed in 32.5.2 Patch available CNA
- scancodeio (PyPI) Vendor— Affected before 32.5.2 Fixed in 32.5.2 Patch available GHSA-6xcx-gx7r-rccj
Remediation
- Fix · CNA scancode.io (nexB) Fixed in 32.5.2
- Fix · GHSA-6xcx-gx7r-rccj scancodeio (PyPI) Fixed in 32.5.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-40024
- 2026-10-03 Alias added: GHSA-6xcx-gx7r-rccj
References
More nexB Scancode.io vulnerabilities
- TI-2023-20655 ScanCode.io command injection in docker image fetch process CVSS 3.1HIGH 8.8
Sources
- CVE-2023-40024 · CVE Program
- CVE-2023-40024 · NVD
- FIRST EPSS
- GHSA-6xcx-gx7r-rccj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences