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
- Trix has a cross-site Scripting vulnerability on copy & paste - CVE-2024-43368
- vue-i18n has cross-site scripting vulnerability with prototype pollution (GHSA-9r9m-ffp6-9x4v) 2 - CVE-2024-52809
- vue-i18n has cross-site scripting vulnerability with prototype pollution (GHSA-9r9m-ffp6-9x4v) 3 - CVE-2024-52809
- vue-i18n has cross-site scripting vulnerability with prototype pollution (GHSA-9r9m-ffp6-9x4v) 4 - CVE-2024-52809
- Tags:
- npm
- slim-select
Anything's wrong? Let us know Last updated on October 18, 2024