{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-9440","id":"CVE-2024-9440","title":"Slim Select 2.0 createOption \"text\" XSS","description":"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 at","descriptionLong":"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","updated":"2026-10-28T02:30:54.433453916Z","reserved":"2024-10-02T17:45:54.918Z","status":"Analyzed","rejected":false,"assigner":"VulnCheck","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"VulnCheck"},"metrics":[{"version":"4.0","score":null,"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","source":"GitHub"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"VulnCheck"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"vulncheck.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["slim-select"],"affectedProducts":[{"vendor":"","product":"slim-select","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"2.9.0","status":"affected","version":"2.0","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"slim-select","purl":"pkg:npm/slim-select","ranges":[">=2.0.0 <2.9.2"],"fixed":["2.9.2"],"advisory":"GHSA-qvqv-mcxr-x8qw"}],"cwes":["CWE-79"],"aliases":["GHSA-qvqv-mcxr-x8qw"],"references":[{"url":"https://vulncheck.com/advisories/slim-select-xss","tags":["third-party-advisory","Third Party Advisory","advisory","web"]},{"url":"https://github.com/brianvoe/slim-select/issues/564","tags":["issue-tracking","Exploit","Issue Tracking","report","web"]},{"url":"https://github.com/brianvoe/slim-select/blob/e7e37e2ff90e125f846bd98d6b8f278524ead79e/src/slim-select/select.ts#L377","tags":["x_vulnerable-code","Product","web"]},{"url":"https://www.npmjs.com/package/slim-select","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9440.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9440","tags":["advisory"]},{"url":"https://github.com/brianvoe/slim-select","tags":["package"]},{"url":"https://github.com/brianvoe/slim-select/pull/572","tags":["web"]},{"url":"https://github.com/brianvoe/slim-select/commit/f8534f27d6e9bab89024d139f1c4f7555f1efd5e","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00365,"epssPercentile":0.31021,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-9440","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9440","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-9440","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qvqv-mcxr-x8qw","ok":true,"note":"GHSA-qvqv-mcxr-x8qw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-9440","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}