Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency dompurify to v3.2.4 [security] #4323

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 14, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
dompurify 3.1.6 -> 3.2.4 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2025-26791

DOMPurify before 3.2.4 has an incorrect template literal regular expression, sometimes leading to mutation cross-site scripting (mXSS).


Release Notes

cure53/DOMPurify (dompurify)

v3.2.4: DOMPurify 3.2.4

Compare Source

  • Fixed a conditional and config dependent mXSS-style bypass reported by @​nsysean
  • Added a new feature to allow specific hook removal, thanks @​davecardwell
  • Added purify.js and purify.min.js to exports, thanks @​Aetherinox
  • Added better logic in case no window object is president, thanks @​yehuya
  • Updated some dependencies called out by dependabot
  • Updated license files etc to show the correct year

v3.2.3: DOMPurify 3.2.3

Compare Source

v3.2.2: DOMPurify 3.2.2

Compare Source

  • Fixed a possible bypass in case a rather specific config for custom elements is set, thanks @​yaniv-git
  • Fixed several minor issues with the type definitions, thanks again @​reduckted
  • Fixed a minor issue with the types reference for trusted types, thanks @​reduckted
  • Fixed a minor problem with the template detection regex on some systems, thanks @​svdb99

v3.2.1: DOMPurify 3.2.1

Compare Source

v3.2.0: DOMPurify 3.2.0

Compare Source

v3.1.7: DOMPurify 3.1.7

Compare Source

  • Fixed an issue with comment detection and possible bypasses with specific config settings, thanks @​masatokinugawa
  • Fixed several smaller typos in documentation and test & build files, thanks @​christianhg
  • Added better support for Angular compiler, thanks @​jeroen1602
  • Added several new attributes to HTML and SVG allow-list, thanks @​Gigabyte5671 and @​Rotzbua
  • Removed the foreignObject element from the list of HTML entry-points, thanks @​masatokinugawa
  • Bumped several dependencies to be more up to date

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Based on the provided pull request information, I'll create a concise summary of the changes:

This PR updates the dompurify dependency from v3.1.6 to v3.2.4 to address a critical security vulnerability (CVE-2025-26791) related to mutation cross-site scripting (mXSS).

Key changes in the update:

  • Fixes a conditional mXSS bypass vulnerability in template literal regular expressions
  • Adds new feature for specific hook removal functionality
  • Improves window object handling logic
  • Includes better attribute clobbering checks to prevent future bypasses
  • Adds purify.js and purify.min.js to exports

This is a security-focused update that should be prioritized to protect against potential XSS attacks.

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

Copy link

codecov bot commented Feb 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.44%. Comparing base (924f717) to head (a6d308a).

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #4323       +/-   ##
===========================================
+ Coverage   39.02%   91.44%   +52.42%     
===========================================
  Files         786      108      -678     
  Lines       34791     9974    -24817     
  Branches     5505        0     -5505     
===========================================
- Hits        13576     9121     -4455     
+ Misses      20032      853    -19179     
+ Partials     1183        0     -1183     
Flag Coverage Δ
api-python 91.41% <ø> (ø)
catalog ?
lambda 91.53% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/npm-dompurify-vulnerability branch 2 times, most recently from dd9563e to 2b5f70a Compare February 18, 2025 11:40
@renovate renovate bot changed the title fix(deps): update dependency dompurify to v3.2.4 [security] Update dependency dompurify to v3.2.4 [SECURITY] Feb 19, 2025
@renovate renovate bot force-pushed the renovate/npm-dompurify-vulnerability branch 8 times, most recently from f3d4d34 to d13c87a Compare February 25, 2025 16:04
@renovate renovate bot force-pushed the renovate/npm-dompurify-vulnerability branch 9 times, most recently from c27137c to 8503898 Compare March 5, 2025 17:30
@renovate renovate bot force-pushed the renovate/npm-dompurify-vulnerability branch 6 times, most recently from d845dc0 to 3269fc7 Compare March 11, 2025 13:06
@renovate renovate bot changed the title Update dependency dompurify to v3.2.4 [SECURITY] fix(deps): update dependency dompurify to v3.2.4 [security] Mar 11, 2025
@renovate renovate bot force-pushed the renovate/npm-dompurify-vulnerability branch 3 times, most recently from 0c1d773 to 49d9c53 Compare March 18, 2025 11:25
@renovate renovate bot force-pushed the renovate/npm-dompurify-vulnerability branch from 49d9c53 to a6d308a Compare March 25, 2025 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants