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.
Recommendation
Update the slim-select package to the latest compatible version. Followings are version details:
- Affected version(s): >= 2.0.0, < 2.9.2
- Patched version(s): 2.9.2
References
Related Issues
- LobeHub has a Cross-Site Scripting issue that escalates to Remote Code Execution - CVE-2026-42045
- Trix has a cross-site Scripting vulnerability on copy & paste - CVE-2024-43368
- Layui has DOM Clobbering gadgets that leads to Cross-site Scripting - CVE-2024-47075
- CyberChef has a Cross-site Scripting issue - CVE-2026-42615
You might also like:
- Tags:
- npm
- slim-select
Anything's wrong? Let us know Last updated on October 18, 2024


