{"id":"CVE-2024-9440","aliases":["GHSA-qvqv-mcxr-x8qw"],"url":"https://o3.security/vulnerability/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.","published":"2024-10-02T18:40:05.254Z","modified":"2026-07-16T03:31:10.492938361Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"slim-select","fixedVersion":"2.9.2"}],"fix":null,"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-16T03:31:10.492938361Z"}}