# CVE-2025-31125: Vite Vitejs Improper Access Control Vulnerability - Exploited (CISA KEV): yes, added 2026-01-22 - Published: 2025-03-31 - CVSS: 5.3 MEDIUM (v3.1) - EPSS: 74.9% (100th percentile) - CWE: CWE-200, CWE-284 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. ## Edge WAF coverage (claimed by vendors, not measured) | Vendor | Status | First rule | Days after publication | |---|---|---|---| | Cloudflare | Blocks by default | 2026-02-16 | 322 | | AWS | No public claim | — | — | | Microsoft Azure | No public claim | — | — | | Google Cloud | No public claim | — | — | | Fastly | Before feed history | — | — | | F5 | Rule published | 2025-05-22 | 52 | | Akamai | No public source | — | — | | OWASP CRS | No public claim | — | — | ### Cloudflare - 2026-02-16 · new · rule 38fff9f3deba46a2abc10a8f950ed8c8 · default Block > Vite - WASM Import Path Traversal - CVE:CVE-2025-31125. Previous action: Log. New action: Block. This is a new detection. Source: https://developers.cloudflare.com/changelog/post/2026-02-16-waf-release/ ### F5 - 2025-05-22 · new · rule 200009327 > Added: signature 200009327 "Vite Framework Arbitrary File Read (2)" (Information Leakage, risk High), systems: JavaScript. References: CVE-2025-30208, CVE-2025-31125. Source: https://docs.cloud.f5.com/docs-v2/platform/changelogs/security-details-changelog ## Our test (measured) - OWASP Core Rule Set 4.25.0, paranoia level 1, anomaly threshold 5, default CRS settings: blocked (4 of 4 requests blocked), template CVE-2025-31125, 2026-11-02 - OWASP Core Rule Set 4.25.0, paranoia level 2, anomaly threshold 5, default CRS settings: blocked (4 of 4 requests blocked), template CVE-2025-31125, 2026-11-02 "No public claim" means no vendor statement names this CVE; "Before feed history" means the CVE is older than the vendor feed. In both cases generic rules may still block it. HTML: https://cve.vigilbase.com/cve/CVE-2025-31125 · JSON: https://cve.vigilbase.com/api/v1/cves/CVE-2025-31125