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). Exploiting this vulnerability is possible via objects with a custom toString() function.
Configurations

Configuration 1 (hide)

cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:*

History

19 Jul 2022, 02:23

Type Values Removed Values Added
CPE cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:*
CWE CWE-79
CVSS v2 : unknown
v3 : unknown
v2 : 4.3
v3 : 6.1
References (MISC) https://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907 - (MISC) https://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907 - Exploit, Patch, Third Party Advisory
References (MISC) https://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990 - (MISC) https://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990 - Broken Link
References (MISC) https://snyk.io/vuln/SNYK-JS-SVELTE-2931080 - (MISC) https://snyk.io/vuln/SNYK-JS-SVELTE-2931080 - Exploit, Patch, Third Party Advisory

12 Jul 2022, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-07-12 19:15

Updated : 2024-02-04 22:51


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')