- Home
- Vulnerabilities
- CVE-2022-25875
CVE-2022-25875
The package svelte before 3.49.0 are vulnerable to Cross-site Scripting (XSS) due to improper input…
Medium
51/100
Summary
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.
Affected products and versions
Svelte (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Svelte | before 3.49.0 (excluded) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — CVE published (cve)
References
- https://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-SVELTE-2931080Exploit, Patch, Third Party Advisory
- https://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990Broken Link
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- NVD
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N(CVSS 3.1, NVD)- Weakness
- CWE-79 · Script intersite (XSS)