Home

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 attacker executed JavaScript. At this time, no patch is available.

PUBLISHED Reserved 2024-10-02 | Published 2024-10-02 | Updated 2024-10-02 | Assigner VulnCheck




MEDIUM: 5.4CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Problem types

CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')

Product status

Default status
unaffected

2.0 (semver)
affected

Credits

Alexis Marquois finder

References

vulncheck.com/advisories/slim-select-xss third-party-advisory

github.com/brianvoe/slim-select/issues/564 issue-tracking

github.com/...d98d6b8f278524ead79e/src/slim-select/select.ts

cve.org (CVE-2024-9440)

nvd.nist.gov (CVE-2024-9440)

Download JSON