Please release a new version to include DOMPurify 3.2.4 (security fix)
Hi Trix team!
First off, thanks for maintaining Trix — it's a great editor and we've been happily using it as part of our own form builder.
I'm reaching out regarding a security-related dependency update. The current version of Trix depends on DOMPurify@^3.2.3, which allows it to resolve to version 3.2.4. This newer version contains a fix for CVE-2025-26791, a medium severity vulnerability in DOMPurify.
Dependency scanners like OWASP Dependency-Check are currently flagging Trix due to the inclusion of DOMPurify 3.2.3 in the distributed builds (dist/ files).
Would it be possible to publish a new patch or minor release of Trix that triggers an update and rebuild using DOMPurify 3.2.4? That would help resolve the warning for all users downstream without needing manual overrides.
Thanks again for your work on this project!
@jorgemanrubia Hi i saw you where the last one making contributions. As this breaks security checks and it seems like a small patch, is it possible that someone from the team takes this up?
I have submitted a PR that updates the version to 3.2.5 (the latest version)
https://github.com/basecamp/trix/pull/1232
Released in v2.1.14. Downstream PR to Rails is https://github.com/rails/rails/pull/54990