Vulnerability CVE-2022-25875


Published: 2022-07-12

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.

Type:

CWE-79

(Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'))

CVSS2 => (AV:N/AC:M/Au:N/C:N/I:P/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
4.3/10
2.9/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
None
Partial
None
Affected software
Svelte -> Svelte 

 References:
https://snyk.io/vuln/SNYK-JS-SVELTE-2931080
https://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990
https://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907

Copyright 2024, cxsecurity.com

 

Back to Top