For your digest
dompurify: DOMPurify contains a Cross-site Scripting vulnerability
It touches something Phylax follows. No evidence of use yet.
Does it affect what I run?
dompurify (npm)
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- dompurify (npm): from 3.1.3, before 3.3.2
- dompurify (npm): from 2.5.3, before 2.5.9
The fix
dompurify (npm) fixed in 3.3.2
npmnpm install dompurify@3.3.2pnpmpnpm add dompurify@3.3.2yarnyarn add dompurify@3.3.2bunbun add dompurify@3.3.2Check what is installednpm ls dompurifyPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency dompurify to 3.3.2 or the nearest later release, to fix CVE-2026-0540. 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.dompurify (npm) fixed in 2.5.9
npmnpm install dompurify@2.5.9pnpmpnpm add dompurify@2.5.9yarnyarn add dompurify@2.5.9bunbun add dompurify@2.5.9Check what is installednpm ls dompurifyPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency dompurify to 2.5.9 or the nearest later release, to fix CVE-2026-0540. 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".