CVE-2022-25875 – svelte
Package
Manager: npm
Name: svelte
Vulnerable Version: >=0 <3.49.0
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00815 pctl0.73416
Details
Svelte vulnerable to XSS when using objects during server-side rendering 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.
Metadata
Created: 2022-07-13T00:00:41Z
Modified: 2023-09-07T00:13:26Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-wv8q-r932-8hc7/GHSA-wv8q-r932-8hc7.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-wv8q-r932-8hc7
Finding: F425
Auto approve: 1