Vulnerability

CVE-2022-25875

mediumCVSS 3.1 6.1Published 12 Jul 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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

From the NVD's configuration data (CPE), vendor first.

  • Svelte svelte

Weakness type

References

  • github.com /sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e1638…
  • github.com /sveltejs/svelte/pull/7530%23issuecomment-1158575990
  • snyk.io /vuln/SNYK-JS-SVELTE-2931080

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning