eslint-config-prettier, eslint-plugin-prettier: Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
There is evidence it is being used against people now, on something Phylax follows.
Does it affect what I run?
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- eslint-config-prettier (npm): from 8.10.1, before 8.10.2
- eslint-config-prettier (npm): from 9.1.1, before 9.1.2
- eslint-config-prettier (npm): from 10.1.6, before 10.1.8
- eslint-plugin-prettier (npm): from 4.2.2, before 4.2.4
- synckit (npm): from 0.11.9, before 0.11.10
- @pkgr/core (npm): from 0.2.8, before 0.2.9
- napi-postinstall (npm): from 0.3.1, before 0.3.2
- got-fetch (npm): from 5.1.11, before 6.0.0
The fix
eslint-config-prettier (npm) fixed in 8.10.2
npmnpm install eslint-config-prettier@8.10.2pnpmpnpm add eslint-config-prettier@8.10.2yarnyarn add eslint-config-prettier@8.10.2bunbun add eslint-config-prettier@8.10.2Check what is installednpm ls eslint-config-prettierPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency eslint-config-prettier to 8.10.2 or the nearest later release, to fix CVE-2025-54313. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.eslint-config-prettier (npm) fixed in 9.1.2
npmnpm install eslint-config-prettier@9.1.2pnpmpnpm add eslint-config-prettier@9.1.2yarnyarn add eslint-config-prettier@9.1.2bunbun add eslint-config-prettier@9.1.2Check what is installednpm ls eslint-config-prettierPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency eslint-config-prettier to 9.1.2 or the nearest later release, to fix CVE-2025-54313. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.eslint-config-prettier (npm) fixed in 10.1.8
npmnpm install eslint-config-prettier@10.1.8pnpmpnpm add eslint-config-prettier@10.1.8yarnyarn add eslint-config-prettier@10.1.8bunbun add eslint-config-prettier@10.1.8Check what is installednpm ls eslint-config-prettierPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency eslint-config-prettier to 10.1.8 or the nearest later release, to fix CVE-2025-54313. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.eslint-plugin-prettier (npm) fixed in 4.2.4
npmnpm install eslint-plugin-prettier@4.2.4pnpmpnpm add eslint-plugin-prettier@4.2.4yarnyarn add eslint-plugin-prettier@4.2.4bunbun add eslint-plugin-prettier@4.2.4Check what is installednpm ls eslint-plugin-prettierPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency eslint-plugin-prettier to 4.2.4 or the nearest later release, to fix CVE-2025-54313. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.synckit (npm) fixed in 0.11.10
npmnpm install synckit@0.11.10pnpmpnpm add synckit@0.11.10yarnyarn add synckit@0.11.10bunbun add synckit@0.11.10Check what is installednpm ls synckitPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency synckit to 0.11.10 or the nearest later release, to fix CVE-2025-54313. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.@pkgr/core (npm) fixed in 0.2.9
npmnpm install "@pkgr/core@0.2.9"pnpmpnpm add "@pkgr/core@0.2.9"yarnyarn add "@pkgr/core@0.2.9"bunbun add "@pkgr/core@0.2.9"Check what is installednpm ls @pkgr/corePaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency @pkgr/core to 0.2.9 or the nearest later release, to fix CVE-2025-54313. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.napi-postinstall (npm) fixed in 0.3.2
npmnpm install napi-postinstall@0.3.2pnpmpnpm add napi-postinstall@0.3.2yarnyarn add napi-postinstall@0.3.2bunbun add napi-postinstall@0.3.2Check what is installednpm ls napi-postinstallPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency napi-postinstall to 0.3.2 or the nearest later release, to fix CVE-2025-54313. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.got-fetch (npm) fixed in 6.0.0
npmnpm install got-fetch@6.0.0pnpmpnpm add got-fetch@6.0.0yarnyarn add got-fetch@6.0.0bunbun add got-fetch@6.0.0Check what is installednpm ls got-fetchPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency got-fetch to 6.0.0 or the nearest later release, to fix CVE-2025-54313. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
Fix commands generated from the advisory's versions. No model wrote them.
In plain words
Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.
Evidence
Exploited · Confirmed
It is in CISA's Known Exploited Vulnerabilities catalogue.
Exploited · Confirmed
CISA's assessment in the CVE record says exploitation is active.
CISA Vulnrichment (SSVC and KEV fields inside CVE records)Stated
Timeline
- First published here, as "Listed".
- Level changed from "Listed" to "Act now".
- Fixed releases changed: added eslint-config-prettier 8.10.2, eslint-config-prettier 9.1.2, eslint-config-prettier 10.1.8, eslint-plugin-prettier 4.2.4, synckit 0.11.10, @pkgr/core 0.2.9, napi-postinstall 0.3.2, got-fetch 6.0.0.
- Evidence added: CISA's assessment in the CVE record says exploitation is active. (CISA Vulnrichment (SSVC and KEV fields inside CVE records))