Read the docs
TI-2023-20914 Aliases CVE-2023-40024GHSA-6xcx-gx7r-rccj

Reflected Cross-Site Scripting (XSS) in scancode.io license endpoint

Priority MEDIUM 60CWE-79Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00506 43rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed scancode.io (nexB): 32.5.2scancodeio (PyPI): 32.5.2

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

VendorProductAffected versionsFixed inStatusSource
nexBscancode.iobefore 32.5.232.5.2Patch availableCNA
—scancodeio (PyPI)before 32.5.232.5.2Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:nexb:scancode.io:*:*:*:*:*:*:*:*up to 32.5.1VulnerablenexB
  • cpe:2.3:a:nexb:scancode.io:*:*:*:*:*:*:*:* Versions up to 32.5.1 Vulnerable ·nexB

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

  1. 2026-10-02 Threatist record created from CVE-2023-40024
  2. 2026-10-03 Alias added: GHSA-6xcx-gx7r-rccj

References

  • TI-2023-20655 ScanCode.io command injection in docker image fetch process CVSS 3.1HIGH 8.8

Sources