For your digest
mongoose: Mongoose search injection vulnerability
It touches something Phylax follows. No evidence of use yet.
Does it affect what I run?
mongoose (npm)
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- mongoose (npm): from 8.0.0-rc0, before 8.9.5
- mongoose (npm): from 7.0.0-rc0, before 7.8.4
- mongoose (npm): every version, before 6.13.6
The fix
mongoose (npm) fixed in 8.9.5
npmnpm install mongoose@8.9.5pnpmpnpm add mongoose@8.9.5yarnyarn add mongoose@8.9.5bunbun add mongoose@8.9.5Check what is installednpm ls mongoosePaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency mongoose to 8.9.5 or the nearest later release, to fix CVE-2025-23061. 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.mongoose (npm) fixed in 7.8.4
npmnpm install mongoose@7.8.4pnpmpnpm add mongoose@7.8.4yarnyarn add mongoose@7.8.4bunbun add mongoose@7.8.4Check what is installednpm ls mongoosePaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency mongoose to 7.8.4 or the nearest later release, to fix CVE-2025-23061. 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.mongoose (npm) fixed in 6.13.6
npmnpm install mongoose@6.13.6pnpmpnpm add mongoose@6.13.6yarnyarn add mongoose@6.13.6bunbun add mongoose@6.13.6Check what is installednpm ls mongoosePaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency mongoose to 6.13.6 or the nearest later release, to fix CVE-2025-23061. 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
No evidence that it is being used, or can be. It is listed because of what it affects.
Timeline
- First published here, as "For your digest".