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
Link | Resource |
---|---|
https://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907 | Exploit Patch Third Party Advisory |
https://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990 | Broken Link |
https://snyk.io/vuln/SNYK-JS-SVELTE-2931080 | Exploit Patch Third Party Advisory |
https://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907 | Exploit Patch Third Party Advisory |
https://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990 | Broken Link |
https://snyk.io/vuln/SNYK-JS-SVELTE-2931080 | Exploit Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 06:53
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907 - Exploit, Patch, Third Party Advisory | |
References | () https://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990 - Broken Link | |
References | () https://snyk.io/vuln/SNYK-JS-SVELTE-2931080 - Exploit, Patch, Third Party Advisory | |
CVSS |
v2 : v3 : |
v2 : 4.3
v3 : 5.4 |
Information
Published : 2022-07-12 19:15
Updated : 2024-11-21 06:53
NVD link : CVE-2022-25875
Mitre link : CVE-2022-25875
CVE.ORG link : CVE-2022-25875
JSON object : View
Products Affected
svelte
- svelte
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')