Skip to content
RedCVE

CVE-2025-54313eslint-config-prettier supply chain malware via install.js

ExploitedPrettierun-tsalexghrhomarrPublished:

CVSS score

7.5

High

CVSS 3.1 from mitre.org

Exploit probability (EPSS)

5.13%

5.13% chance of exploitation in the next 30 days, higher than 92.6% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 22 Jan 2026.

US federal deadline to fix: 12 Feb 2026.

In plain words

Specific published versions of eslint-config-prettier contain malicious code that runs an install.js script when the package is installed, which launches the node-gyp.dll malware on Windows. Several other npm packages and the Homarr application are also listed as affected, and CISA reports active exploitation and has added this to its KEV catalog. No vendor patch is referenced, so remove the affected package versions, review systems where they were installed for signs of compromise, and follow the mitigation guidance in CISA's KEV entry.

Official 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.

Source: NVD · CNA: cve@mitre.org

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 22 Jan 2026.

    US federal agencies must fix it by 12 Feb 2026. It's a sensible deadline for everyone else too.

    CISA's full instruction
    Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
  2. Check whether you're affected

    Find every system running Prettier Eslint-config-prettier, Prettier Eslint-plugin-prettier, un-ts Synckit, un-ts Pkgr/core, alexghr Got-fetch and compare its version with the affected versions.

  3. Update to a fixed version

    • Update Homarr to 1.30.0 or later.
  4. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

  5. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N

Affected products

Affected productsVersions
Prettier Eslint-config-prettier8.10.1 · 9.1.1 · 10.1.6 · 10.1.7
Prettier Eslint-plugin-prettier4.2.2 · 4.2.3
un-ts Synckit0.11.9
un-ts Pkgr/core0.2.8
alexghr Got-fetch5.1.1 · 5.1.2
un-ts Napi-postinstall0.3.1
homarr Homarr≥ 1.29.0, < 1.30.0

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2025-54313 being exploited?

Yes. CISA added CVE-2025-54313 to its Known Exploited Vulnerabilities catalog on 22 Jan 2026, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 5.1% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2025-54313?

CVE-2025-54313 has a CVSS 3.1 base score of 7.5 (high).

Which versions are affected?

Prettier Eslint-config-prettier (8.10.1; 9.1.1; 10.1.6; 10.1.7), Prettier Eslint-plugin-prettier (4.2.2; 4.2.3), UN TS Synckit (0.11.9), UN TS Pkgr/core (0.2.8), Alexghr Got-fetch (5.1.1; 5.1.2), UN TS Napi-postinstall (0.3.1)

Is there a patch for CVE-2025-54313?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.