{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-9440","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2024-10-02T17:45:54.918Z","datePublished":"2024-10-02T18:40:05.254Z","dateUpdated":"2025-11-29T02:04:42.633Z"},"containers":{"cna":{"affected":[{"collectionURL":"https://www.npmjs.com/package/slim-select","defaultStatus":"unaffected","packageName":"slim-select","programFiles":["src/slim-select/select.ts"],"programRoutines":[{"name":"createOption"}],"repo":"https://github.com/brianvoe/slim-select","versions":[{"lessThanOrEqual":"2.9.0","status":"affected","version":"2.0","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:slimselectjs:slim_select:*:*:*:*:*:node.js:*:*","versionEndIncluding":"2.9.0","versionStartIncluding":"2.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"OR"}],"credits":[{"lang":"en","type":"finder","value":"Alexis Marquois"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"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.<br>"}],"value":"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."}],"impacts":[{"capecId":"CAPEC-243","descriptions":[{"lang":"en","value":"CAPEC-243 XSS Targeting HTML Attributes"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2025-11-29T02:04:42.633Z"},"references":[{"tags":["third-party-advisory"],"url":"https://vulncheck.com/advisories/slim-select-xss"},{"tags":["issue-tracking"],"url":"https://github.com/brianvoe/slim-select/issues/564"},{"tags":["x_vulnerable-code"],"url":"https://github.com/brianvoe/slim-select/blob/e7e37e2ff90e125f846bd98d6b8f278524ead79e/src/slim-select/select.ts#L377"}],"source":{"discovery":"EXTERNAL"},"title":"Slim Select 2.0 createOption \"text\" XSS","x_generator":{"engine":"vulncheck"}},"adp":[{"affected":[{"vendor":"brian_voelker","product":"slim_select","cpes":["cpe:2.3:a:brian_voelker:slim_select:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"2.0","status":"affected","lessThanOrEqual":"2.9.0","versionType":"semver"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-02T19:10:39.450536Z","id":"CVE-2024-9440","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-10-02T19:13:30.506Z"}}]}}