CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Svelte

CVE-2022-25875
Svelte vulnerability

The package svelte before 3.49.0 are vulnerable to Cross-site Scripting (XSS) due to improper input sanitization and to improper escape of attributes when using objects during SSR (Server-Side Rendering). Exploiting this vulnerability is possible via objects with a custom toString() function.

Affected products

Svelte. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Svelte runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Svelte products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.