VulnerabilityModified
CVE-2022-25875
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).
MEDIUM 6.1EPSS 1.40%
Does this matter?
Lower severity and a low EPSS score (1.40%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 1.40% probability · 71th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- svelte/svelte
- Source
- report@snyk.io
References
- https://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907Exploit, Patch, Third Party Advisory
- https://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990Broken Link
- https://snyk.io/vuln/SNYK-JS-SVELTE-2931080Exploit, Patch, Third Party Advisory
- https://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907Exploit, Patch, Third Party Advisory
- https://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990Broken Link
- https://snyk.io/vuln/SNYK-JS-SVELTE-2931080Exploit, Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.