CVE-2022-25875
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 Rend...
Affects 1 product across 1 vendor.
Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.
Show all 6
Mapping is CWE-to-CAPEC per MITRE CAPEC 3.9.
The package svelte before version 3.49.0 is vulnerable to Cross-site Scripting (XSS) due to improper input sanitization and improper escape of attributes during Server-Side Rendering (SSR) when using objects with a custom toString() function.
BSID: BS-2022-GLOBAL-315190-M • Model: /workspace/models/qwen2.5-coder-32b-instruct-bf16 • Confidence: MEDIUM
Is this CVE in your environment?
BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.
Check My Environment →What is CVE-2022-25875?
What is the CVSS score for CVE-2022-25875?
Is CVE-2022-25875 actively exploited?
How do I remediate CVE-2022-25875?
What systems are affected by CVE-2022-25875?
| CVE ID | CVE-2022-25875 |
|---|---|
| BSID | BS-2022-GLOBAL-315190-M BreachSpider Global ID |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Published | 2022-07-12 |
| Last Modified | 2024-11-21 |
| ICS Relevance | 0% |
| Weakness (CWE) | |
| Source | NVD |
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.
Source: NIST NVD / MITRE CVE Database
An attacker can exploit this vulnerability by injecting malicious scripts through objects with a custom toString() function during SSR, which can then be executed in the context of the victim's browser.
Exploitation Likelihood: MEDIUM
| Vendor | Product | Affected Versions |
|---|---|---|
| Svelte | Svelte | < 3.49.0 |
No official vendor advisory link on record. See the CVE record →
| CISA known-exploited | Not in KEV catalog |
|---|---|
| Public Exploit | Not confirmed |
| PoC Code | Not confirmed |
AI Enrichment Record — provenance & audit hash
| Model | /workspace/models/qwen2.5-coder-32b-instruct-bf16 |
|---|---|
| Confidence | MEDIUM |
| Enriched At | 2026-05-24 |
| SHA-512 Audit Hash | d9f10e26dae3848338cbc92a307f57d702cb719defb23723c05d7886ae07810b47623b4694f2712bea561c06570963ab5e8836ad0bff77b231fbb8bdd9438928 |
ICS/OT Vulnerability Intelligence for Your Environment
BreachSpider tracks 384,000+ CVEs and matches them to your ICS/OT assets by exact version, with AI analysis, NERC CIP mapping, and vendor PSIRT contacts.
Create a free account →