# CVE-2024-9440: Slim Select 2.0 createOption "text" XSS

- Severity: Medium 5.4 (CVSS:3.1, scored by VulnCheck) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-02T18:40:05.254Z
- Modified: 2026-07-14T23:17:18.567Z
- Also known as: GHSA-qvqv-mcxr-x8qw
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- slim-select: from 2.0 up to 2.9.0
- brian_voelker slim_select: from 2.0 up to 2.9.0
- slim-select (npm): from 2.0.0 before 2.9.2
- slimselectjs slim_select: before 2.9.2

## Every score

- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/brianvoe/slim-select/issues/564> (exploit, issue-tracking, web)
- <https://vulncheck.com/advisories/slim-select-xss> (third-party-advisory, web)
- <https://github.com/brianvoe/slim-select/blob/e7e37e2ff90e125f846bd98d6b8f278524ead79e/src/slim-select/select.ts#L377> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-9440> (advisory)
- <https://github.com/brianvoe/slim-select/pull/572> (web)
- <https://github.com/brianvoe/slim-select/commit/f8534f27d6e9bab89024d139f1c4f7555f1efd5e> (web)
- <https://github.com/brianvoe/slim-select> (package)

## Sources

- CVE List: [CVE-2024-9440](https://www.cve.org/CVERecord?id=CVE-2024-9440), CVE Terms of Use, modified 2026-07-14
- GitHub Advisory Database: [GHSA-qvqv-mcxr-x8qw](https://github.com/advisories/GHSA-qvqv-mcxr-x8qw), CC-BY-4.0, modified 2024-10-18
- NVD: [CVE-2024-9440](https://nvd.nist.gov/vuln/detail/CVE-2024-9440), Public domain, modified 2026-07-14

---

Page: https://cve.day/CVE-2024-9440 · Whole record: https://cve.day/CVE-2024-9440.json · Rebuilt by cve.day 2026-11-25T22:58:45.988Z
