cve/2024/CVE-2024-9440.md
2025-09-29 21:09:30 +02:00

18 lines
1.0 KiB
Markdown

### [CVE-2024-9440](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-9440)
![](https://img.shields.io/static/v1?label=Product&message=null&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=2.0%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Improper%20Neutralization%20of%20Input%20During%20Web%20Page%20Generation%20(XSS%20or%20'Cross-site%20Scripting')&color=brightgreen)
### 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.
### POC
#### Reference
- https://github.com/brianvoe/slim-select/issues/564
#### Github
No PoCs found on GitHub currently.