{"id":"CVE-2024-9440","published":"2024-10-02T18:40:05Z","modified":"2026-07-14T22:54:54Z","title":"Slim Select 2.0 createOption \"text\" XSS","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00365,"percentile":0.31162,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://vulncheck.com/advisories/slim-select-xss","tags":["third-party-advisory"]},{"url":"https://github.com/brianvoe/slim-select/issues/564","tags":["issue-tracking"]},{"url":"https://github.com/brianvoe/slim-select/blob/e7e37e2ff90e125f846bd98d6b8f278524ead79e/src/slim-select/select.ts#L377","tags":["x_vulnerable-code"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":6.23},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":null,"product":null,"versions":[">= 2.0, <= 2.9.0"]}],"capec":[{"id":"CAPEC-243","name":"XSS Targeting HTML Attributes"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-02T19:10:39.450536Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"slim-select","vulnerableRanges":[">=2.0.0, <2.9.2"],"patched":["2.9.2"],"from":["GHSA-qvqv-mcxr-x8qw"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting weakness in the createOption() function of select.ts in the Slim Select 2.0 JavaScript library, affecting versions through 2.9.0, where the user-supplied \"text\" value is written into innerHTML without sanitisation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:48Z"},"euvd":{"id":"EUVD-2024-3121","exploited":false,"provenance":"source"}}