XSS in Vitejs Vite

CVE-2024-45812

Vite a frontend build tooling framework for javascript. Affected versions of vite were discovered to contain a DOM Clobbering vulnerability when building scripts to `cjs`/`iife`/`umd` output format. The DOM Clobbering gadget in the module…

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.003 (49.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H.

Affected products

  • Vitejs Vite — versions >= 5.4.0, < 5.4.6, >= 5.3.0, < 5.3.6, >= 5.0.0, < 5.2.14

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-45812?
CVE-2024-45812 is a medium-severity vulnerability in Vitejs Vite, classified under Cross-site Scripting. CVSS score: 6.4/10. Published 2024-09-17.
How severe is CVE-2024-45812?
Medium severity. CVSS v3 base score is 6.4 out of 10.
Is CVE-2024-45812 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.