Skip to content

Fix npm audit advisories in the frontend (7.21.1) - #894

Merged
payamnj merged 2 commits into
masterfrom
npm-audit-fix-7.21.1
Oct 22, 2026
Merged

payamnj merged 2 commits into
masterfrom
npm-audit-fix-7.21.1

Conversation

@payamnj

@payamnj payamnj commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Patch release for the frontend advisories npm audit reported.

  • dompurify 3.4.16 → 3.4.17 fixes three critical advisories. DOMPurify is a runtime dependency that ships in the served assets, so the package.json floor rises from ^3.4.16 to ^3.4.17.
  • vite 8.2.2 → 8.3.5 clears six high advisories in the dev server and launch-editor. rolldown, postcss and nanoid move with it. These are dev-only and don't reach the served assets or installs.
  • CHANGELOG.md has a 7.21.1 Security entry, and pyproject.toml goes to 7.21.1.

Testing

  • npm audit on the frontend reports 0 vulnerabilities.
  • vite build succeeds.
  • Frontend tests are left to CI. Locally, some suites timed out under load with both the old and the new lockfile.

🤖 Generated with Claude Code

payamnj and others added 2 commits October 22, 2026 21:22
dompurify 3.4.16 -> 3.4.17 fixes GHSA-cg2g-xh64-v4q7 (SAFE_FOR_TEMPLATES
bypass in shadow root content), GHSA-mrv2-3pqr-j5jr (IN_PLACE hook
leaving a detached subtree's handlers armed, an incomplete fix for
GHSA-p98j-92pf-mc4p) and GHSA-c6gr-qvv4-5v3f (SMIL attributeName=href
guard skipped for application/xhtml+xml), all critical. It ships in the
built assets, so the package.json floor rises to ^3.4.17. The dev-only
vite 8.2.2 -> 8.3.5 (with rolldown, postcss and nanoid) clears six high
advisories in the dev server and launch-editor. npm audit reports none.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
dompurify 3.4.17 fixes three critical advisories in the shipped
frontend, and the dev-only vite update clears six high ones.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@payamnj
payamnj merged commit 6ccef7f into master Oct 22, 2026
13 checks passed
@payamnj
payamnj deleted the npm-audit-fix-7.21.1 branch October 22, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant