CVE-2025-54313 Prettier eslint-config-prettier: hidden backdoor
In plain words: The software was shipped with hidden malicious code inside it. Whoever planted it has secret access to every copy.
Confirmed exploited by CISA on · US federal patch deadline Feb 12, 2026
What to do
- Install Prettier's security update for eslint-config-prettier. If no update exists, follow the vendor's workaround or stop using the product until one ships.
- Install system updates the day they come out — most phone zero-days are fixed in a point release.
- Restart your phone every few days; some spyware does not survive a reboot.
- If you are a journalist, activist, lawyer, politician or executive, turn on Lockdown Mode (iPhone) or Advanced Protection (Android).
Who is affected
Could reach you. This one is aimed at devices or apps of the kind people own.
What's at risk: Messages, photos, location, microphone and camera. The most serious ones are "zero-click": no tap needed from the owner. They are usually used as spyware against a small number of chosen people.
The details
- Official name
- Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
- Product
- Prettier eslint-config-prettier
- CISA description
- Prettier eslint-config-prettier contains an embedded malicious code vulnerability. Installing an affected package executes an install.js file that launches the node-gyp.dll malware on Windows.
- Type of flaw
- Hidden backdoor (CWE-506)
- Confirmed exploited
- Jan 22, 2026
- US federal patch deadline
- Feb 12, 2026
Ask Cleus about it
Ask about a vulnerability, an update, a weird message, or the news. Plain-word answers, free, no account.
Answering about CVE-2025-54313 ·
Questions about CVE-2025-54313
Is CVE-2025-54313 being exploited?
Yes. CISA added CVE-2025-54313 to its Known Exploited Vulnerabilities catalog on Jan 22, 2026, which means there is reliable evidence of real-world attacks.
How do I fix CVE-2025-54313?
Install Prettier's security update for eslint-config-prettier. If no update exists, follow the vendor's workaround or stop using the product until one ships. Install system updates the day they come out — most phone zero-days are fixed in a point release.
Am I affected by CVE-2025-54313?
Only if you use Prettier eslint-config-prettier. This one is aimed at devices or apps of the kind people own.