{"cve":"CVE-2024-9440","nvd":{"published":"2024-10-02T19:15:15.880","modified":"2026-07-14T23:17:18.567","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/brianvoe/slim-select/blob/e7e37e2ff90e125f846bd98d6b8f278524ead79e/src/slim-select/select.ts#L377","https://github.com/brianvoe/slim-select/issues/564","https://vulncheck.com/advisories/slim-select-xss"],"products":["slimselectjs:slim_select"],"source":"nvd","synced_at":"2026-10-19T21:55:31.737901711+00:00"},"epss":{"cve":"CVE-2024-9440","score":0.00365,"percentile":0.30401,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qvqv-mcxr-x8qw","url":"https://osv.dev/vulnerability/GHSA-qvqv-mcxr-x8qw","summary":"Slim Select has potential Cross-site Scripting issue","modified":"2024-10-18T15:03:40Z","packages":[{"ecosystem":"npm","name":"slim-select","purl":"pkg:npm/slim-select","ranges":[">=2.0.0 <2.9.2"],"fixed":["2.9.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}