CVE-2025-54313

Source
https://cve.org/CVERecord?id=CVE-2025-54313
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54313.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-54313
Aliases
Published
2025-07-19T00:00:00Z
Modified
2026-07-15T01:49:10.945993872Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "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"
}
References

Affected packages

Git
github.com/alexghr/got-fetch

Affected ranges

Type
GIT
Repo
https://github.com/alexghr/got-fetch
Events
Database specific
{
    "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"
}

Affected versions

5.*
5.1.1
5.1.2
v5.*
v5.1.1
v5.1.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54313.json"
github.com/homarr-labs/homarr

Affected ranges

Type
GIT
Repo
https://github.com/homarr-labs/homarr
Events
Database specific
{
    "cpe": "cpe:2.3:a:homarr:homarr:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "1.29.0"
        },
        {
            "fixed": "1.30.0"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v1.*
v1.29.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54313.json"
github.com/un-ts/pkgr

Affected ranges

Type
GIT
Repo
https://github.com/un-ts/pkgr
Events
Database specific
{
    "cpe": "cpe:2.3:a:un-ts:pkgr\\/core:0.2.8:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "0.2.8"
        },
        {
            "last_affected": "0.2.8"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

0.*
0.2.8
@pkgr/es-modules@0.*
@pkgr/es-modules@0.2.3
@pkgr/imagemin@0.*
@pkgr/imagemin@0.3.7
@pkgr/named-exports@0.*
@pkgr/named-exports@0.4.3
@pkgr/rollup@0.*
@pkgr/rollup@0.9.5
@pkgr/umd-globals@0.*
@pkgr/umd-globals@0.3.2
@pkgr/utils@0.*
@pkgr/utils@0.3.8
@pkgr/webpack-angular@0.*
@pkgr/webpack-angular@0.2.3
@pkgr/webpack-mdx@0.*
@pkgr/webpack-mdx@0.2.4
@pkgr/webpack-react@0.*
@pkgr/webpack-react@0.2.11
@pkgr/webpack-svelte@0.*
@pkgr/webpack-svelte@0.1.7
@pkgr/webpack-vue@0.*
@pkgr/webpack-vue@0.2.8
@pkgr/webpack@0.*
@pkgr/webpack@0.5.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54313.json"