Description
Svelecte item names are rendered as raw HTML with no escaping. This allows the injection of arbitrary HTML into the Svelecte dropdown. This can be exploited to execute arbitrary JavaScript whenever a Svelecte dropdown is opened.
Recommendation
Update the svelecte package to the latest compatible version. Followings are version details:
- Affected version(s): < 3.16.3
- Patched version(s): 3.16.3
References
Could your website be exposed too?
SmartScanner can check your website for Svelecte item names vulnerable to execution of arbitrary JavaScript and gives you actionable findings to investigate.
Start a free scanRelated Issues
- PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF - CVE-2024-4367
- Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code - CVE-2023-45133
- JSONata vulnerable to Arbitrary Code Execution via crafted JSONata expressions - jsonata - CVE-2026-77414
- JSONata vulnerable to Arbitrary Code Execution via crafted JSONata expressions - CVE-2026-77415


