{"cve_id":"CVE-2025-31125","published":"2025-03-31T17:15:43.163000+00:00","last_modified":"2026-06-17T09:09:54.040000+00:00","vuln_status":"Analyzed","description":"Vite is a frontend tooling framework for javascript. Vite exposes content of non-allowed files using ?inline&import or ?raw?import. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected. This vulnerability is fixed in 6.2.4, 6.1.3, 6.0.13, 5.4.16, and 4.5.11.","cvss_version":"3.1","cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","base_score":7.5,"base_severity":"HIGH","attack_vector":"NETWORK","privileges_req":"NONE","user_interaction":"NONE","scope":"UNCHANGED","impact_c":"HIGH","impact_i":"NONE","impact_a":"NONE","cwe_ids":["CWE-200","CWE-284"],"in_kev":true,"kev_date_added":"2026-01-22","kev_ransomware":false,"epss_score":0.74939,"epss_percentile":0.99506,"cap_rule_version":"0.1.1","stage":"RECON","req_access":"NONE","req_vector":"NETWORK","req_user_interaction":false,"grant_access":"NONE","caps":["INFO_DISCLOSURE"],"terminal":false,"cap_confidence":"high","ingested_at":"2026-09-18T11:31:04.688333+00:00","first_seen":"2025-03-31T17:15:43.163000+00:00","kev_first_seen":"2026-01-22T00:00:00+00:00","novelty_score":0.0,"novelty_reasons":[],"novelty_at":null,"vendors":["vitejs"],"products":["vite"],"affected":[{"vendor":"vitejs","product":"vite","ranges":["< 4.5.11","≥ 5.0.0 and < 5.4.16","≥ 6.0.0 and < 6.0.13","≥ 6.1.0 and < 6.1.3","≥ 6.2.0 and < 6.2.4"]}]}