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
- Layui has DOM Clobbering gadgets that leads to Cross-site Scripting - CVE-2024-47075
- Trix has a cross-site Scripting vulnerability on copy & paste - CVE-2024-43368
- vue-i18n has cross-site scripting vulnerability with prototype pollution - CVE-2024-52809
- vue-i18n has cross-site scripting vulnerability with prototype pollution - vue-i18n - CVE-2024-52809
You might also like:
- Tags:
- npm
- slim-select
Anything's wrong? Let us know Last updated on October 18, 2024


