CVE-2022-25875

Cross-site Scripting (XSS)

State
Published
Severity
5.4 Medium
Published
Jul 12, 2022
Updated
Sep 17, 2024
Reserved
Feb 24, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:Psnyk

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
svelten/a
  • before 3.49.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.