{
  "id": "CVE-2025-54313",
  "url": "https://spydr.io/cve/CVE-2025-54313",
  "published": "2025-07-19T17:15:23.733Z",
  "modified": "2026-06-17T09:39:49.897Z",
  "score": 7.5,
  "severity": "high",
  "cvss_version": "3.1",
  "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N",
  "score_source": "mitre.org",
  "epss": 0.04522,
  "epss_percentile": 0.91249,
  "exploited": true,
  "kev": {
    "added": "2026-01-22",
    "due": "2026-02-12",
    "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": "Unknown",
    "name": "Prettier eslint-config-prettier Embedded Malicious Code Vulnerability",
    "notes": "This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions ; https://github.com/prettier/eslint-config-prettier/issues/339#issuecomment-3090304490 ; https://nvd.nist.gov/vuln/detail/CVE-2025-54313"
  },
  "ssvc_exploitation": "active",
  "vendors": [
    "prettier"
  ],
  "products": [
    "prettier eslint-config-prettier"
  ],
  "cwes": [
    "CWE-506"
  ],
  "description": "eslint-config-prettier 8.10.1, 9.1.1, 10.1.6, and 10.1.7 has embedded malicious code for a supply chain compromise. Installing an affected package executes an install.js file that launches the node-gyp.dll malware on Windows.",
  "status": "Analyzed",
  "score_type": "Secondary",
  "scores": {
    "cvss_v40": null,
    "cvss_v31": 7.5,
    "cvss_v30": null
  },
  "references": [
    {
      "url": "https://github.com/prettier/eslint-config-prettier/issues/339",
      "tags": [
        "Issue Tracking"
      ]
    },
    {
      "url": "https://news.ycombinator.com/item?id=44608811",
      "tags": [
        "Issue Tracking"
      ]
    },
    {
      "url": "https://news.ycombinator.com/item?id=44609732",
      "tags": [
        "Issue Tracking"
      ]
    },
    {
      "url": "https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise",
      "tags": [
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/",
      "tags": [
        "Exploit",
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions",
      "tags": [
        "Product"
      ]
    },
    {
      "url": "https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise",
      "tags": [
        "Exploit",
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://github.com/community-scripts/ProxmoxVE/discussions/6115",
      "tags": [
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only",
      "tags": [
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313",
      "tags": [
        "US Government Resource"
      ]
    }
  ],
  "nvd_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-54313",
  "covered_in": [],
  "attribution": [
    {
      "source": "NVD",
      "url": "https://nvd.nist.gov",
      "notice": "This product uses data from the NVD API but is not endorsed or certified by the NVD."
    },
    {
      "source": "CISA KEV",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "notice": "Known exploited vulnerabilities from the CISA KEV catalog."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss",
      "notice": "Exploit prediction scores from FIRST EPSS."
    }
  ]
}
