Skip to content
OpenAdvisories
Medium · 5.4 CVE-2022-25875 EUVD-2022-6441GHSA-wv8q-r932-8hc7SNYK-JS-SVELTE-2931080

Cross-site Scripting (XSS)

Published Jul 12, 2022 · Updated Sep 17, 2024 · Assigned by snyk

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 products

VendorProductAffectedFixed
— svelte unspecified – < 3.49.0 3.49.0

Affected packages

EcosystemPackageAffectedFixedRecord
npm svelte < 3.49.0 3.49.0 GHSA-wv8q-r932-8hc7

References