svelte
cpe:2.3:a:svelte:svelte:*:*:*:*:*:*:*
- <= 5.51.4
A vulnerability in the Svelte web framework prior to version 5.51.5 allows for HTML injection during server-side rendering. This issue arises when using `<svelte:element this={tag}>`, as the tag name is not properly validated or sanitized before being outputted as HTML. If the tag contains unexpected characters, it can lead to HTML injection in the server-side rendered output. Client-side rendering is not impacted.
Exploitation of this vulnerability could result in HTML injection in the server-side rendered output, potentially allowing for the inclusion of malicious HTML or scripts.
Users can upgrade to Svelte version 5.51.5 or later to address this vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.