XSS in Slimselectjs Slim Select

CVE-2024-9440

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.004 (28.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-9440?
CVE-2024-9440 is a medium-severity vulnerability in Slimselectjs Slim Select, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2024-10-02.
How severe is CVE-2024-9440?
Medium severity. CVSS v3 base score is 5.4 out of 10.