CVSS 3.1
6.1 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NMedium (6.1) in vitejs vite. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in vite 4.4.12, 4.5.1, 5.0.5.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Nvite (npm): fixed in 4.4.12, 4.5.1, 5.0.5Explain CVE-2023-49293 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-49293?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-49293?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-49293 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| vitejs:vite | from 4.4.0 through 4.4.11 |
| vitejs:vite | from 5.0.0 through 5.0.4 |
| vitejs:vite | 5.0.0 |
| vitejs:vite | 5.0.0:beta0 |
| vitejs:vite | 5.0.0:beta1 |
| vitejs:vite | 5.0.0:beta10 |
| vitejs:vite | 5.0.0:beta11 |
| vitejs:vite | 5.0.0:beta12 |
| vitejs:vite | 5.0.0:beta13 |
| vitejs:vite | 5.0.0:beta14 |
| vitejs:vite | 5.0.0:beta15 |
| vitejs:vite | 5.0.0:beta16 |
| vitejs:vite | 5.0.0:beta17 |
| vitejs:vite | 5.0.0:beta18 |
| vitejs:vite | 5.0.0:beta19 |
| vitejs:vite | 5.0.0:beta2 |
| vitejs:vite | 5.0.0:beta20 |
| vitejs:vite | 5.0.0:beta3 |
| vitejs:vite | 5.0.0:beta4 |
| vitejs:vite | 5.0.0:beta5 |
| vitejs:vite | 5.0.0:beta6 |
| vitejs:vite | 5.0.0:beta7 |
| vitejs:vite | 5.0.0:beta8 |
| vitejs:vite | 5.0.0:beta9 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-92r3-m2mg-pj97 | npm | vite | >=4.4.0 <4.4.12 | 4.4.12 |
| GHSA-92r3-m2mg-pj97 | npm | vite | >=4.5.0 <4.5.1 | 4.5.1 |
| GHSA-92r3-m2mg-pj97 | npm | vite | >=5.0.0 <5.0.5 | 5.0.5 |
Red Hat rates this Moderate.
The vulnerability within Vite's HTML transformation process poses a moderate severity issue due to its potential for exploitation in specific development environments. While it requires certain conditions to be met, such as utilizing the appType: 'custom' configuration and containing inline module scripts in the HTML, the impact can still be significant. Attackers can inject arbitrary HTML into the transformed output by manipulating the request URL, leading to Cross-Site Scripting (XSS) attacks. Although exploitation relies on users clicking on malicious URLs during development server runtime, the ability to inject arbitrary code into the transformed output could facilitate further attacks or unauthorized access to sensitive data.
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2 | automation-controller | Not affected | |
| Red Hat Ansible Automation Platform 2 | automation-eda-controller | Not affected | |
| Red Hat Build of Keycloak | vitejs | Will not fix | |
| Red Hat JBoss Enterprise Application Platform 8 | vitejs | Not affected | |
| Red Hat OpenShift distributed tracing 2 | rhosdt/jaeger-agent-rhel8 | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-49293.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.