CVE-2022-25875
Summary
| CVE | CVE-2022-25875 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-07-12 19:15:00 UTC |
| Updated | 2022-07-19 02:23:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-79
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990 | MISC | github.com | |
| Cross-site Scripting (XSS) in svelte | CVE-2022-25875 | Snyk | MISC | snyk.io | |
| [fix] harden attribute escaping during ssr (#7530) · sveltejs/svelte@f8605d6 · GitHub | MISC | github.com | |
| [fix] harden attribute escaping during ssr by mrkishi · Pull Request #7530 · sveltejs/svelte · GitHub | MITRE | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Maurício Kishi
There are currently no legacy QID mappings associated with this CVE.