Advisories
Act nowExploited · Confirmed

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

    npm
    npm install eslint-config-prettier@8.10.2
    pnpm
    pnpm add eslint-config-prettier@8.10.2
    yarn
    yarn add eslint-config-prettier@8.10.2
    bun
    bun add eslint-config-prettier@8.10.2
    Check what is installed
    npm ls eslint-config-prettier
    Paste into Cursor, Lovable or Claude Code
    Upgrade 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

    npm
    npm install eslint-config-prettier@9.1.2
    pnpm
    pnpm add eslint-config-prettier@9.1.2
    yarn
    yarn add eslint-config-prettier@9.1.2
    bun
    bun add eslint-config-prettier@9.1.2
    Check what is installed
    npm ls eslint-config-prettier
    Paste into Cursor, Lovable or Claude Code
    Upgrade 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

    npm
    npm install eslint-config-prettier@10.1.8
    pnpm
    pnpm add eslint-config-prettier@10.1.8
    yarn
    yarn add eslint-config-prettier@10.1.8
    bun
    bun add eslint-config-prettier@10.1.8
    Check what is installed
    npm ls eslint-config-prettier
    Paste into Cursor, Lovable or Claude Code
    Upgrade 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

    npm
    npm install eslint-plugin-prettier@4.2.4
    pnpm
    pnpm add eslint-plugin-prettier@4.2.4
    yarn
    yarn add eslint-plugin-prettier@4.2.4
    bun
    bun add eslint-plugin-prettier@4.2.4
    Check what is installed
    npm ls eslint-plugin-prettier
    Paste into Cursor, Lovable or Claude Code
    Upgrade 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

    npm
    npm install synckit@0.11.10
    pnpm
    pnpm add synckit@0.11.10
    yarn
    yarn add synckit@0.11.10
    bun
    bun add synckit@0.11.10
    Check what is installed
    npm ls synckit
    Paste into Cursor, Lovable or Claude Code
    Upgrade 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

    npm
    npm install "@pkgr/core@0.2.9"
    pnpm
    pnpm add "@pkgr/core@0.2.9"
    yarn
    yarn add "@pkgr/core@0.2.9"
    bun
    bun add "@pkgr/core@0.2.9"
    Check what is installed
    npm ls @pkgr/core
    Paste into Cursor, Lovable or Claude Code
    Upgrade 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

    npm
    npm install napi-postinstall@0.3.2
    pnpm
    pnpm add napi-postinstall@0.3.2
    yarn
    yarn add napi-postinstall@0.3.2
    bun
    bun add napi-postinstall@0.3.2
    Check what is installed
    npm ls napi-postinstall
    Paste into Cursor, Lovable or Claude Code
    Upgrade 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

    npm
    npm install got-fetch@6.0.0
    pnpm
    pnpm add got-fetch@6.0.0
    yarn
    yarn add got-fetch@6.0.0
    bun
    bun add got-fetch@6.0.0
    Check what is installed
    npm ls got-fetch
    Paste into Cursor, Lovable or Claude Code
    Upgrade 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

Timeline

  1. First published here, as "Listed".
  2. Level changed from "Listed" to "Act now".
  3. 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.
  4. Evidence added: CISA's assessment in the CVE record says exploitation is active. (CISA Vulnrichment (SSVC and KEV fields inside CVE records))