{
  "crds_version": "0.1",
  "kind": "base",
  "id": "crds:cve-2025-31125",
  "revision": 1,
  "title": "Vite — development server serves files outside the allow list",
  "summary": "Vite's development server returns the contents of files it should not serve when a request adds certain query suffixes. Only projects that deliberately expose the development server to the network are affected.",
  "source_type": "cve",
  "severity": "high",
  "cvss": {
    "score": 7.5,
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
    "version": "3.1"
  },
  "epss": 0.58462,
  "exploitation": {
    "known_exploited": true,
    "exploit_available": true,
    "attack_complexity": "low",
    "kev_added": "2026-01-22",
    "prerequisites": "Network reach to a Vite development server started with host binding enabled."
  },
  "remediation": {
    "patch_available": true,
    "fixed_in": [
      "Vite 6.2.4",
      "Vite 6.1.3",
      "Vite 6.0.13",
      "Vite 5.4.16",
      "Vite 4.5.11"
    ]
  },
  "mitre_attack": [
    "T1083"
  ],
  "kill_chain": "collection",
  "recommended_action": "Upgrade Vite to 6.2.4, 6.1.3, 6.0.13, 5.4.16 or 4.5.11 now; keep the development server bound to localhost rather than the network.",
  "confidence": "high",
  "provenance": [
    {
      "fields": [
        "cvss",
        "exploitation.attack_complexity",
        "exploitation.exploit_available",
        "references",
        "published_at"
      ],
      "source": "https://nvd.nist.gov/vuln/detail/CVE-2025-31125",
      "retrieved_at": "2026-09-24T08:51:39.744Z",
      "confidence": "high",
      "extractor": "scrty-crds-pipeline/0.1"
    },
    {
      "fields": [
        "exploitation.known_exploited",
        "exploitation.kev_added"
      ],
      "source": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "retrieved_at": "2026-09-24T08:51:39.744Z",
      "confidence": "high",
      "extractor": "scrty-crds-pipeline/0.1"
    },
    {
      "fields": [
        "epss"
      ],
      "source": "https://api.first.org/data/v1/epss?cve=CVE-2025-31125",
      "retrieved_at": "2026-09-24T08:51:39.744Z",
      "confidence": "high",
      "extractor": "scrty-crds-pipeline/0.1"
    },
    {
      "fields": [
        "title",
        "summary",
        "severity",
        "remediation",
        "mitre_attack",
        "kill_chain",
        "recommended_action",
        "confidence",
        "tags",
        "exploitation.prerequisites"
      ],
      "source": "https://nvd.nist.gov/vuln/detail/CVE-2025-31125",
      "retrieved_at": "2026-09-24T08:51:39.744Z",
      "confidence": "high",
      "extractor": "claude-code"
    }
  ],
  "references": [
    {
      "type": "cve",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-31125",
      "label": "NVD record"
    },
    {
      "type": "cisa",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "label": "CISA Known Exploited Vulnerabilities catalog"
    },
    {
      "type": "vendor_advisory",
      "url": "https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949"
    },
    {
      "type": "exploit",
      "url": "https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8"
    }
  ],
  "published_at": "2025-03-31T17:15:43.163Z",
  "issued_at": "2026-09-24T08:51:39.744Z",
  "tags": [
    "vite",
    "developer-tooling",
    "information-disclosure",
    "kev"
  ]
}
