~ / search / GHSA-wv8q-r932-8hc7

GHSA-wv8q-r932-8hc7

Svelte vulnerable to XSS when using objects during server-side rendering

Source: GitHub Advisory Database (reviewed) Moderate CVE-2022-25875

Packages

EcosystemPackageAffectedFixed in
npm svelte < 3.49.0 3.49.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.