Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2022-25875 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907 | CVE | ExploitPatchThird Party Advisory |
| https://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990 | CVE | Broken Link |
| https://snyk.io/vuln/SNYK-JS-SVELTE-2931080 | CVE | ExploitPatchThird Party Advisory |
| https://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907 | [email protected] | ExploitPatchThird Party Advisory |
| https://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990 | [email protected] | Broken Link |
| https://snyk.io/vuln/SNYK-JS-SVELTE-2931080 | [email protected] | ExploitPatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| svelte svelte | < 3.49.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 19, 2022 | Initial Analysis | [email protected] |