Advisory record · GHSA-4r4m-qw57-chr8

Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query

CVSS 5.3 MediumCriticalIn CISA KEVEPSS 0.75 · 99th percentile

Critical, because:

  • In CISA’s KEV catalogue since 22 Jan 2026: it is known to be exploited.

How we decide what’s critical

Published by the GitHub Advisory Database at 31 Mar 2025, 17:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
vitenpm>=6.2.0, <6.2.4 || >=6.1.0, <6.1.3 || >=6.0.0, <6.0.13 || >=5.0.0, <5.4.16 || <4.5.116.2.4, 6.1.3, 6.0.13, 5.4.16, 4.5.11
Identifiers
GHSA-4r4m-qw57-chr8 · CVE-2025-31125
Weakness (CWE)
CWE-200 · CWE-284
Published
31 Mar 2025
Updated
10 Sept 2026

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.3 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N CNA (GitHub_M)
  • CISA KEV Listed since 22 Jan 2026: known to be exploited.
  • EPSS 0.75, the 99th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Mar 2025, 10:12 UTC Published by the maintainers as a GitHub repository advisory

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.