CVE-2022-25875

Cross-site Scripting (XSS)

MEDIUM
6.1
CVSS Score
Published: July 12, 2022 at 02:20 PM UTC
Updated: June 17, 2026 at 04:34 AM UTC
1 product affected across 1 vendorSvelte

Using svelte by N/A?

Get instant alerts when new vulnerabilities affect svelte - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.49.0
Affected range stops below 3.49.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card