Skip to content

dep: upgrade DOMPurify to 3.4.2 from 3.2.7#1310

Merged
flavorjones merged 1 commit into
mainfrom
dep-dompurify-3.4.2
May 9, 2026
Merged

dep: upgrade DOMPurify to 3.4.2 from 3.2.7#1310
flavorjones merged 1 commit into
mainfrom
dep-dompurify-3.4.2

Conversation

@flavorjones
Copy link
Copy Markdown
Member

Supersedes #1301

Addresses several security advisories (see https://github.com/cure53/DOMPurify/security/advisories?state=published)

Copilot AI review requested due to automatic review settings May 9, 2026 16:07
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the project’s DOMPurify dependency to 3.4.2 (from 3.2.7) to address published DOMPurify security advisories, and refreshes the vendored DOMPurify code embedded in the ActionText/Trix asset.

Changes:

  • Updated yarn.lock to resolve dompurify to 3.4.2.
  • Updated the embedded DOMPurify source within action_text-trix/app/assets/javascripts/trix.js (including version/license header and new upstream hardening logic).

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
yarn.lock Locks DOMPurify to 3.4.2 (and updates related resolved metadata).
action_text-trix/app/assets/javascripts/trix.js Updates the vendored DOMPurify implementation/version used by the Rails ActionText Trix asset.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@flavorjones flavorjones merged commit ce80a5e into main May 9, 2026
25 checks passed
@flavorjones flavorjones deleted the dep-dompurify-3.4.2 branch May 9, 2026 16:15
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.

2 participants