CVE-2022-25875 Cross-site Scripting (XSS)
MediumCVSS 6.1
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm svelte(npm) | < 3.49.0 | 3.49.0 | Fixed |
| svelte | < 3.49.0 | 3.49.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm svelte(npm) | < 3.49.0 | 3.49.0 |
| svelte | < 3.49.0 | 3.49.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit patch third-party-advisory
- snyk.io exploit patch third-party-advisory
- github.com patch
- github.com
- github.com broken-link
- github.com product