CVSS 3.1
6.4 mediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:HMedium (6.4) in vitejs vite. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in vite 3.2.11, 4.5.4, 5.1.8.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:Hvite (npm): fixed in 5.4.6, 5.3.6, 5.2.14, 4.5.4, 3.2.11, 5.1.8Explain CVE-2024-45812 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-45812?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-45812?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-2024-45812 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 CNA's record in the CVE List.
| Product | Affected |
|---|---|
| vitejs vite | >= 5.4.0, < 5.4.6 |
| vitejs vite | >= 5.3.0, < 5.3.6 |
| vitejs vite | >= 5.0.0, < 5.2.14 |
| vitejs vite | >= 4.0.0, < 4.5.5 |
| vitejs vite | < 3.2.11 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-64vr-g452-qvp3 | npm | vite | >=5.4.0 <5.4.6 | 5.4.6 |
| GHSA-64vr-g452-qvp3 | npm | vite | >=5.3.0 <5.3.6 | 5.3.6 |
| GHSA-64vr-g452-qvp3 | npm | vite | >=5.2.0 <5.2.14 | 5.2.14 |
| GHSA-64vr-g452-qvp3 | npm | vite | >=4.0.0 <4.5.4 | 4.5.4 |
| GHSA-64vr-g452-qvp3 | npm | vite | <3.2.11 | 3.2.11 |
| GHSA-64vr-g452-qvp3 | npm | vite | >=5.0.0 <5.1.8 | 5.1.8 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| openSUSE | Tumbleweed | velociraptor | 0.7.0.4.git142.862ef23-1.1 | openSUSE-SU-2025:14663-1 |
From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.
Red Hat rates this Moderate.
This issue is classified as moderate severity rather than important due to the specific conditions required to exploit the vulnerability. While DOM Clobbering can lead to Cross-Site Scripting (XSS), the attack surface is relatively limited. Exploitation is contingent on the presence of unsanitized user-supplied HTML with certain scriptless attributes (`name`, `id`) and the use of particular Vite build outputs (`cjs`, `iife`, `umd`). In environments following proper input sanitization practices, the risk is significantly mitigated. Moreover, the vulnerability does not enable direct code injection or compromise by default but rather leverages existing script elements, reducing the likelihood of widespread exploitation compared to higher severity issues.
Mitigation for this issue is either not available or the currently available options do not 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 OpenShift distributed tracing 3.4 | rhosdt/jaeger-query-rhel8:rhosdt-3.4 | Fixed 2024-12-10 | RHSA-2024:10917 |
| Red Hat OpenShift distributed tracing 3.4 | rhosdt/jaeger-query-rhel8:rhosdt-3.4 | Fixed 2024-12-11 | RHSA-2024:10962 |
| Red Hat Ansible Automation Platform 2 | automation-controller | Affected | |
| Red Hat Ansible Automation Platform 2 | automation-eda-controller | Not affected | |
| Red Hat JBoss Enterprise Application Platform 8 | vite | Not affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/jaeger-agent-rhel8 | Not affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/jaeger-collector-rhel8 | Not affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/jaeger-es-index-cleaner-rhel8 | Not affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/jaeger-es-rollover-rhel8 | Not affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/jaeger-ingester-rhel8 | Not affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/jaeger-query-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-2024-45812.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.