Security readout for executives and security teams
Plain-English summary
A flaw in older Svelte versions could let attacker-controlled data become script in server-rendered pages. Successful abuse could affect a user's browser session, but sources rate it medium and require user interaction. The provided sources do not show known active exploitation.
Executive priority
Treat as a moderate web application security fix. Prioritize public Svelte SSR services and customer-facing pages, but this is not presented by the sources as an emergency exploitation event.
Technical view
Svelte's SSR attribute escaping mishandled object values with custom toString(), allowing XSS in rendered attributes. CVSS 3.1 is 5.4: network reachable, low complexity, no privileges, user interaction required, with limited confidentiality and integrity impact.
Likely exposure
Exposure is most likely in web applications using Svelte before 3.49.0 with server-side rendering, where untrusted values can reach component attributes as objects. The source bundle does not identify specific downstream products.
Exploitation context
The issue is not in CISA KEV, and the provided sources do not cite active exploitation. Abuse depends on attacker influence over data rendered into SSR attributes and a user visiting the affected page.
Researcher notes
The vulnerable condition is specific: Svelte before 3.49.0, SSR attribute handling, object values, and custom toString() behavior. Evidence supports medium severity and a fixed release, but not broad exploitation or affected products beyond Svelte itself.
Mitigation direction
- Upgrade Svelte to version 3.49.0 or later.
- Prioritize internet-facing SSR applications that render user-controlled content.
- Review vendor advisories and the referenced Svelte fix for implementation details.
- Add regression coverage for SSR attribute escaping around object-like inputs.
Validation and detection
- Check package manifests and lockfiles for Svelte versions before 3.49.0.
- Identify Svelte routes that use server-side rendering.
- Review components where untrusted data is rendered into HTML attributes.
- Confirm production builds use the fixed Svelte dependency.
- Run regression tests covering SSR escaping behavior.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2022-25875 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 5.4 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P2.82.5Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
5.4MediumVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P
Source materials
- CVE List V5 sourceCVE List V5
- https://snyk.io/vuln/SNYK-JS-SVELTE-2931080CVE reference · x_refsource_MISC
- https://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990CVE reference · x_refsource_MISC
- https://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
