{"id":"CVE-2024-9440","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-04-10T05:21:36.262602Z","published":"2024-10-02T19:15:15.880Z","references":[{"type":"WEB","url":"https://github.com/brianvoe/slim-select/blob/e7e37e2ff90e125f846bd98d6b8f278524ead79e/src/slim-select/select.ts#L377"},{"type":"ADVISORY","url":"https://vulncheck.com/advisories/slim-select-xss"},{"type":"REPORT","url":"https://github.com/brianvoe/slim-select/issues/564"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/brianvoe/slim-select","events":[{"introduced":"0"},{"last_affected":"d5287015db7599422149412c0817bc76bde6ff50"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.9.0"}]}}],"versions":["v0.1.0","v0.10.0","v0.11.0","v0.11.1","v0.11.2","v0.11.3","v0.2.0","v0.3.0","v0.3.1","v0.4.0","v0.4.1","v0.5.0","v0.6.0","v0.7.0","v0.8.0","v0.9.0","v0.9.1","v1.0.0","v1.1.0","v1.1.1","v1.1.2","v1.1.3","v1.1.4","v1.1.5","v1.10.0","v1.11.0","v1.11.1","v1.11.2","v1.12.0","v1.12.1","v1.13.0","v1.14.0","v1.15.0","v1.15.1","v1.16.0","v1.17.0","v1.18.0","v1.18.1","v1.18.10","v1.18.11","v1.18.12","v1.18.13","v1.18.14","v1.18.2","v1.18.3","v1.18.4","v1.18.5","v1.18.6","v1.18.7","v1.18.8","v1.18.9","v1.19.0","v1.2.0","v1.20.0","v1.21.0","v1.21.1","v1.22.0","v1.23.0","v1.23.1","v1.24.0","v1.25.0","v1.26.1","v1.26.2","v1.27.0","v1.27.1","v1.3.0","v1.3.1","v1.3.2","v1.4.0","v1.4.1","v1.4.2","v1.4.3","v1.5.0","v1.5.1","v1.5.2","v1.6.0","v1.6.1","v1.6.2","v1.7.0","v1.8.0","v1.8.1","v1.9.0","v2.0.0","v2.0.1","v2.0.2","v2.1.0","v2.2.0","v2.2.1","v2.2.2","v2.2.3","v2.3.1","v2.3.2","v2.3.3","v2.4.0","v2.4.1","v2.4.2","v2.4.3","v2.4.4","v2.4.5","v2.5.0","v2.5.1","v2.7.0","v2.7.1","v2.8.2","v2.9.0"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"2.9.2"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-9440.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}