{"id":"CVE-2024-9440","summary":"Slim Select 2.0 createOption \"text\" XSS","details":"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.","aliases":["GHSA-qvqv-mcxr-x8qw"],"modified":"2026-08-12T03:51:42.046347029Z","published":"2024-10-02T18:40:05.254Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9440.json","cna_assigner":"VulnCheck"},"references":[{"type":"WEB","url":"https://github.com/brianvoe/slim-select/blob/e7e37e2ff90e125f846bd98d6b8f278524ead79e/src/slim-select/select.ts#L377"},{"type":"WEB","url":"https://www.npmjs.com/package/slim-select"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9440.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9440"},{"type":"ADVISORY","url":"https://vulncheck.com/advisories/slim-select-xss"},{"type":"REPORT","url":"https://github.com/brianvoe/slim-select/issues/564"},{"type":"PACKAGE","url":"https://github.com/brianvoe/slim-select"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/brianvoe/slim-select","events":[{"introduced":"61dd471ce0240c73681980823869570b099bde68"},{"fixed":"d5287015db7599422149412c0817bc76bde6ff50"}],"database_specific":{"source":["AFFECTED_FIELD","DESCRIPTION"],"extracted_events":[{"introduced":"2.0"},{"last_affected":"2.9.0"},{"introduced":"0"},{"fixed":"2.9.0"}]}}],"versions":["v2.8.2","v2.7.1","v2.7.0","v2.5.1","v2.5.0","v2.4.5","v2.4.4","v2.4.2","v2.4.3","v2.4.1","v2.4.0","v2.3.3","v2.3.2","v2.3.1","v2.2.3","v2.2.2","v2.2.1","v2.2.0","v2.1.0","v2.0.2","v2.0.1","v2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-9440.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}]}