CVE-2024-9440
MEDIUMslim-select 2.0-2.9.0 - Cross-Site Scripting via Unsanitized Options Object
Title source: llmDescription
Slim Select 2.0 versions through 2.9.0 are affected by a potential cross-site scripting vulnerability. In select.ts:createOption(), the text variable from the user-provided Options object is assigned to an innerHTML without sanitation. Software that depends on this library to dynamically generate lists using unsanitized user-provided input may be vulnerable to cross-site scripting, resulting in attacker executed JavaScript. At this time, no patch is available.
References (3)
Core 3
Core References
Third Party Advisory third-party-advisory
https://vulncheck.com/advisories/slim-select-xss
Exploit, Issue Tracking issue-tracking
https://github.com/brianvoe/slim-select/issues/564
Scores
CVSS v3
5.4
EPSS
0.0026
EPSS Percentile
49.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (2)
npm/slim-select
2.0.0 - 2.9.2npm
slimselectjs/slim_select
< 2.9.2
Published
Oct 02, 2024
Tracked Since
Feb 18, 2026