CVE-2024-9440

Slim Select 2.0 createOption "text" XSS

Published Oct 2, 2024 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-3121 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.
Github GHSA Github GHSA GHSA-qvqv-mcxr-x8qw Slim Select has potential Cross-site Scripting issue
History
Type Values Removed Values Added
First Time appeared Slimselectjs
Slimselectjs slim Select
CPEs cpe:2.3:a:slimselectjs:slim_select:*:*:*:*:*:node.js:*:*
Vendors & Products Slimselectjs
Slimselectjs slim Select
Type Values Removed Values Added
First Time appeared Brian Voelker
Brian Voelker slim Select
CPEs cpe:2.3:a:brian_voelker:slim_select:*:*:*:*:*:*:*:*
Vendors & Products Brian Voelker
Brian Voelker slim Select
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Slim Select 2.0 createOption "text" XSS
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 14, 2026, 10:54 PM
Reserved
Oct 2, 2024, 5:45 PM
Status
Analyzed
Published
Oct 2, 2024, 7:15 PM
Modified
Jul 14, 2026, 11:17 PM