{"id":"CVE-2024-9440","aliases":["CVE-2024-9440","GHSA-qvqv-mcxr-x8qw"],"related":[],"kind":"vulnerability","state":"published","title":"Slim Select 2.0 createOption \"text\" XSS","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","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. This vulnerability is fixed in 2.9.2.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones Slim Select 2.0 a 2.9.0 se ven afectadas por una posible vulnerabilidad de Cross-Site Scripting. En select.ts:createOption(), la variable de texto del objeto Options proporcionado por el usuario se asigna a un innerHTML sin sanear. El software que depende de esta librería para generar listas de forma dinámica utilizando entradas proporcionadas por el usuario sin desinfectar puede ser vulnerable a Cross-Site Scripting, lo que da como resultado que el atacante ejecute JavaScript. En este momento, no hay ningún parche disponible.","source":"nvd"}],"published":"2024-10-02T18:40:05.254Z","modified":"2026-07-14T23:17:18.567Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"2.0","lastAffected":"2.9.0","status":"affected"}],"package":"slim-select","repo":"https://github.com/brianvoe/slim-select","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0","lastAffected":"2.9.0","status":"affected"}],"vendor":"brian_voelker","product":"slim_select","cpe":"cpe:2.3:a:brian_voelker:slim_select:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.9.2"}],"ecosystem":"npm","package":"slim-select","purl":"pkg:npm/slim-select","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.9.2"}],"vendor":"slimselectjs","product":"slim_select","cpe":"cpe:2.3:a:slimselectjs:slim_select:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://vulncheck.com/advisories/slim-select-xss","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/brianvoe/slim-select/issues/564","tags":["exploit","issue-tracking","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/brianvoe/slim-select/blob/e7e37e2ff90e125f846bd98d6b8f278524ead79e/src/slim-select/select.ts#L377","tags":["product","web","x-vulnerable-code"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9440","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/brianvoe/slim-select/pull/572","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/brianvoe/slim-select/commit/f8534f27d6e9bab89024d139f1c4f7555f1efd5e","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/brianvoe/slim-select","tags":["package"],"sources":["ghsa"]}],"credits":["Alexis Marquois"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-10-02T19:10:39.450Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-9440","url":"https://www.cve.org/CVERecord?id=CVE-2024-9440","licence":"CVE Terms of Use","modified":"2026-07-14T22:54:54.888Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qvqv-mcxr-x8qw","url":"https://github.com/advisories/GHSA-qvqv-mcxr-x8qw","licence":"CC-BY-4.0","modified":"2024-10-18T15:03:40.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-9440","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9440","licence":"Public domain","modified":"2026-07-14T23:17:18.567Z"}],"updatedAt":"2026-11-25T22:58:45.988Z","epss":{"score":0.00365,"percentile":0.32407,"date":"2026-12-01T12:00:22.000Z"}}