{"schema":"threatline.record/2","record":{"id":"CVE-2025-31125","aliases":["GHSA-4r4m-qw57-chr8"],"summary":"Vite Vitejs Improper Access Control Vulnerability","details":"Vite Vitejs contains an improper access control vulnerability that 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.","categories":["Libraries & packages"],"product":"Vitejs","vendor":"Vite","ecosystem":"npm","affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2025-31125","source_modified_at":"2026-01-23T16:58:37.048Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"vite","vendor":"vitejs","versions":[{"status":"affected","version":">= 6.2.0, < 6.2.4"},{"status":"affected","version":">= 6.1.0, < 6.1.3"},{"status":"affected","version":">= 6.0.0, < 6.0.13"},{"status":"affected","version":">= 5.0.0, < 5.4.16"},{"status":"affected","version":"< 4.5.11"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-4r4m-qw57-chr8","source_modified_at":"2026-09-10T03:50:56.858424937Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"vite","ecosystem":"npm","purl":"pkg:npm/vite"},"ranges":[{"type":"SEMVER","events":[{"introduced":"6.2.0"},{"fixed":"6.2.4"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-4r4m-qw57-chr8","source_modified_at":"2026-09-10T03:50:56.858424937Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"vite","ecosystem":"npm","purl":"pkg:npm/vite"},"ranges":[{"type":"SEMVER","events":[{"introduced":"6.1.0"},{"fixed":"6.1.3"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-4r4m-qw57-chr8","source_modified_at":"2026-09-10T03:50:56.858424937Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"vite","ecosystem":"npm","purl":"pkg:npm/vite"},"ranges":[{"type":"SEMVER","events":[{"introduced":"6.0.0"},{"fixed":"6.0.13"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-4r4m-qw57-chr8","source_modified_at":"2026-09-10T03:50:56.858424937Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"vite","ecosystem":"npm","purl":"pkg:npm/vite"},"ranges":[{"type":"SEMVER","events":[{"introduced":"5.0.0"},{"fixed":"5.4.16"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-4r4m-qw57-chr8","source_modified_at":"2026-09-10T03:50:56.858424937Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"vite","ecosystem":"npm","purl":"pkg:npm/vite"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.5.11"}]}],"versions":[]}],"fixed_versions":[{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-4r4m-qw57-chr8","source_modified_at":"2026-09-10T03:50:56.858424937Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"vite","ecosystem":"npm","purl":"pkg:npm/vite"},"version":"6.2.4"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-4r4m-qw57-chr8","source_modified_at":"2026-09-10T03:50:56.858424937Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"vite","ecosystem":"npm","purl":"pkg:npm/vite"},"version":"6.1.3"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-4r4m-qw57-chr8","source_modified_at":"2026-09-10T03:50:56.858424937Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"vite","ecosystem":"npm","purl":"pkg:npm/vite"},"version":"6.0.13"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-4r4m-qw57-chr8","source_modified_at":"2026-09-10T03:50:56.858424937Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"vite","ecosystem":"npm","purl":"pkg:npm/vite"},"version":"5.4.16"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-4r4m-qw57-chr8","source_modified_at":"2026-09-10T03:50:56.858424937Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"vite","ecosystem":"npm","purl":"pkg:npm/vite"},"version":"4.5.11"}],"cvss":5.3,"severity":"Medium","kev":{"listed":true,"date_added":"2026-01-22","due_date":"2026-02-12","required_action":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","ransomware_campaign_use":"Unknown"},"epss":{"probability":0.65189,"percentile":0.99255,"score_date":"2026-10-23"},"published_at":"2025-03-31T17:06:30.704Z","modified_at":"2026-09-10T03:50:56.858424937Z","provenance":[{"source":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23T17:00:09.9001Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-31125","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-01-23T16:58:37.048Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-4r4m-qw57-chr8","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-09-10T03:50:56.858424937Z"},{"source":"Nuclei","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-31125.yaml","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":null},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-31125","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CISA KEV","CVE List","OSV","Nuclei","EPSS"],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31125","source":"CISA KEV"},{"source":"CVE List","url":"https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8","tags":["exploit"]},{"source":"CVE List","url":"https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31125","tags":["government-resource"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"active","automatable":"no","technical_impact":"total","assessed_at":"2026-01-23T16:58:33.096334Z"},"exploits":[{"kind":"Scanner template","name":"Vite Development Server - Path Traversal","source":"Nuclei","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-31125.yaml"}],"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-09-10T03:50:56.858424937Z","content_hash":"97608d97de3e16f68a2f7e4cc7da8f3bd1f0ab566a1ae1bd856012c8420c357c"}}
