{
    "dataType": "CVE_RECORD",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2025-54313",
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "dateUpdated": "2026-02-26T17:50:26.767Z",
        "dateReserved": "2025-07-19T00:00:00.000Z",
        "datePublished": "2025-07-19T00:00:00.000Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "eslint-config-prettier",
                    "vendor": "prettier",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "8.10.1",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "9.1.1",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "10.1.6",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "10.1.7",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-506",
                            "description": "CWE-506 Embedded Malicious Code",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre",
                "dateUpdated": "2025-07-19T16:43:13.088Z"
            },
            "references": [
                {
                    "url": "https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise"
                },
                {
                    "url": "https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/"
                },
                {
                    "url": "https://github.com/prettier/eslint-config-prettier/issues/339"
                },
                {
                    "url": "https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions"
                },
                {
                    "url": "https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise"
                },
                {
                    "url": "https://news.ycombinator.com/item?id=44609732"
                },
                {
                    "url": "https://news.ycombinator.com/item?id=44608811"
                }
            ],
            "x_generator": {
                "engine": "enrichogram 0.0.1"
            },
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N"
                    }
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2025-07-21T16:09:03.150Z"
                },
                "references": [
                    {
                        "url": "https://github.com/community-scripts/ProxmoxVE/discussions/6115"
                    },
                    {
                        "url": "https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only"
                    }
                ],
                "title": "CVE Program Container",
                "x_generator": {
                    "engine": "ADPogram 0.0.1"
                }
            },
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2025-54313",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "active"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2026-01-23T04:55:19.677903Z"
                            }
                        }
                    },
                    {
                        "other": {
                            "type": "kev",
                            "content": {
                                "dateAdded": "2026-01-22",
                                "reference": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313"
                            }
                        }
                    }
                ],
                "references": [
                    {
                        "url": "https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/",
                        "tags": [
                            "exploit"
                        ]
                    },
                    {
                        "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313",
                        "tags": [
                            "government-resource"
                        ]
                    }
                ],
                "timeline": [
                    {
                        "time": "2026-01-22T00:00:00.000Z",
                        "lang": "en",
                        "value": "CVE-2025-54313 added to CISA KEV"
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-02-26T17:50:26.767Z"
                }
            }
        ]
    },
    "dataVersion": "5.2"
}