Skip to content
OpenAdvisories
Medium · 5.4 CVE-2024-9440 EUVD-2024-3121GHSA-qvqv-mcxr-x8qw

Slim Select 2.0 createOption "text" XSS

Published Oct 2, 2024 · Updated Jul 14, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
— slim-select 2.0 – ≤ 2.9.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm slim-select >= 2.0.0, < 2.9.2 2.9.2 GHSA-qvqv-mcxr-x8qw

References