CVE-2022-25875
MEDIUM6.1EPSS 0.73%Svelte vulnerable to XSS when using objects during server-side rendering
發布日:2022/7/13修改日:2026/3/13
描述
The package svelte before 3.49.0 is 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.
受影響套件(1)
- npm/sveltefrom 0, < 3.49.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |