CVE-2022-25875
Dashboard / Vulnerabilities / CVE-2022-25875
CVE-2022-25875
Published: 12 Jul 2022Last Modified: 12 Aug 2026
Summary: Cross-site Scripting (XSS)
Details: 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.
References: https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25875.json, https://nvd.nist.gov/vuln/detail/CVE-2022-25875, https://snyk.io/vuln/SNYK-JS-SVELTE-2931080, https://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907, https://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
v3.48.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
