CVE-2022-25875

Cross-site Scripting (XSS)

Published Jul 12, 2022 CVSS 3.1 · 5.4 Medium EPSS 1.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-6441 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.
Github GHSA Github GHSA GHSA-wv8q-r932-8hc7 Svelte vulnerable to XSS when using objects during server-side rendering
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00815}

epss

{'score': 0.0081}

Type Values Removed Values Added
Metrics epss

{'score': 0.00668}

epss

{'score': 0.00815}

Type Values Removed Values Added
Metrics epss

{'score': 0.00495}

epss

{'score': 0.00668}

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 17, 2024, 4:14 AM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
Jul 12, 2022, 7:15 PM
Modified
Jun 17, 2026, 4:34 AM