svelte@4.2.17 vulnerabilities

Cybernetically enhanced web apps

Direct Vulnerabilities

Known vulnerabilities in the svelte package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Scripting (XSS)

svelte is a package for building web applications.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to a mismatch between attribute value and other string sanitization rules. An attacker can execute scripts by injecting malicious content into an attribute in a <noscript> tag.

How to fix Cross-site Scripting (XSS)?

Upgrade svelte to version 4.2.19 or higher.

<4.2.19