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.
{
"cwe_ids": [
"CWE-506"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54313.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "8.10.1"
},
{
"last_affected": "8.10.1"
},
{
"introduced": "9.1.1"
},
{
"last_affected": "9.1.1"
},
{
"introduced": "10.1.6"
},
{
"last_affected": "10.1.6"
},
{
"introduced": "10.1.7"
},
{
"last_affected": "10.1.7"
}
],
"source": "AFFECTED_FIELD"
}
],
"cna_assigner": "mitre"
}{
"cpe": [
"cpe:2.3:a:alexghr:got-fetch:5.1.1:*:*:*:*:node.js:*:*",
"cpe:2.3:a:alexghr:got-fetch:5.1.2:*:*:*:*:node.js:*:*"
],
"extracted_events": [
{
"introduced": "5.1.1"
},
{
"last_affected": "5.1.1"
},
{
"introduced": "5.1.2"
},
{
"last_affected": "5.1.2"
}
],
"source": "CPE_STRING"
}