Skip to content

fix(deps): update dependency dompurify to ^3.4.8#208

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/dompurify-3.x
Open

fix(deps): update dependency dompurify to ^3.4.8#208
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/dompurify-3.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Feb 3, 2025

This PR contains the following updates:

Package Change Age Confidence
dompurify ^3.2.3^3.4.8 age confidence

Release Notes

cure53/DOMPurify (dompurify)

v3.4.8: DOMPurify 3.4.8

Compare Source

  • Cleaned up the repository root, renamed some and removed unneeded files
  • Fixed an issue with handling of Trusted Types policies, thanks @​fulstadev
  • Fixed the node iterator for better template scrubbing, thanks @​IamLeandrooooo
  • Included formerly missing LICENSE-MPL in published npm package, thanks @​asamuzaK
  • Bumped several dependencies where possible

v3.4.7: DOMPurify 3.4.7

Compare Source

  • Hardened the handling of Shadow Roots when using IN_PLACE, thanks @​GameZoneHacker
  • Removed a problem leading to permanent hook pollution, thanks @​offset
  • Refactored the test suite and expanded test coverage significantly

v3.4.6: DOMPurify 3.4.6

Compare Source

  • Fixed several issues with DOM Clobbering in IN_PLACE mode, thanks @​offset & @​Bankde
  • Hardened the checks for cross-realm IN_PLACE and Shadow DOM sanitization, thanks @​offset & @​Bankde
  • Added more test coverage for IN_PLACE and general DOM Clobbering attacks
  • Bumped several dependencies where possible

v3.4.5

Compare Source

v3.4.4: DOMPurify 3.4.4

Compare Source

  • Added the selectedcontent element to default allow-list, thanks @​lukewarlow
  • Added the command and commandfor attributes to default allowed-list, thanks @​lukewarlow
  • Added better template scrubbing for IN_PLACE operations, thanks @​DEMON1A
  • Added stronger checks for cross-realm windows, thanks @​DEMON1A & @​fg0x0
  • Updated demo website and made sure it uses the latest from main
  • Updated existing workflows, fuzzer, dependabot, etc., added more tests
  • Bumped several dependencies where possible

v3.4.3

Compare Source

v3.4.2: DOMPurify 3.4.2

Compare Source

  • Fixed an issue with URI validation on attributes allowed via ADD_ATTR callback, thanks @​nelstrom
  • Fixed an issue with source maps referring to non-existing files, thanks @​cmdcolin
  • Updated existing workflows, fuzzer, release signing, etc., added more tests
  • Bumped several dependencies where possible

v3.4.1: DOMPurify 3.4.1

Compare Source

  • Fixed an issue with on-handler stripping for HTML-spec-reserved custom element names (font-face, color-profile, missing-glyph, font-face-src, font-face-uri, font-face-format, font-face-name) under permissive CUSTOM_ELEMENT_HANDLING
  • Fixed a case-sensitivity gap in the annotation-xml check that allowed mixed-case variants to bypass the basic-custom-element exclusion in XHTML mode
  • Fixed SANITIZE_NAMED_PROPS repeatedly prefixing already-prefixed id and name values on subsequent sanitization
  • Fixed the IN_PLACE root-node check to explicitly guard against non-string nodeName (DOM-clobbering robustness)
  • Removed a duplicate slot entry from the default HTML attribute allow-list
  • Strengthened the fast-check fuzz harness with explicit XSS invariants, an expanded seed-payload corpus, an additional idempotence property for SANITIZE_NAMED_PROPS, and a negative-control assertion ensuring the invariants actually fire
  • Added regression and pinning tests covering the above fixes and two accepted-behavior contracts (SAFE_FOR_TEMPLATES greedy scrub, hook-added attribute handling)
  • Extended CodeQL analysis to run on 3.x and 2.x maintenance branches

v3.4.0: DOMPurify 3.4.0

Compare Source

Most relevant changes:

  • Fixed a problem with FORBID_TAGS not winning over ADD_TAGS, thanks @​kodareef5
  • Fixed several minor problems and typos regarding MathML attributes, thanks @​DavidOliver
  • Fixed ADD_ATTR/ADD_TAGS function leaking into subsequent array-based calls, thanks @​1Jesper1
  • Fixed a missing SAFE_FOR_TEMPLATES scrub in RETURN_DOM path, thanks @​bencalif
  • Fixed a prototype pollution via CUSTOM_ELEMENT_HANDLING, thanks @​trace37labs
  • Fixed an issue with ADD_TAGS function form bypassing FORBID_TAGS, thanks @​eddieran
  • Fixed an issue with ADD_ATTR predicates skipping URI validation, thanks @​christos-eth
  • Fixed an issue with USE_PROFILES prototype pollution, thanks @​christos-eth
  • Fixed an issue leading to possible mXSS via Re-Contextualization, thanks @​researchatfluidattacks and others
  • Fixed a problem with the type dentition patcher after Node version bump
  • Fixed freezing BS runs by reducing the tested browsers array
  • Bumped several dependencies where possible
  • Added needed files for OpenSSF scorecard checks

Published Advisories are here:
https://github.com/cure53/DOMPurify/security/advisories?state=published

v3.3.3: DOMPurify 3.3.3

Compare Source

  • Fixed an engine requirement for Node 20 which caused hiccups, thanks @​Rotzbua

v3.3.2: DOMPurify 3.3.2

Compare Source

  • Fixed a possible bypass caused by jsdom's faulty raw-text tag parsing, thanks multiple reporters
  • Fixed a prototype pollution issue when working with custom elements, thanks @​christos-eth
  • Fixed a lenient config parsing in _isValidAttribute, thanks @​christos-eth
  • Bumped and removed several dependencies, thanks @​Rotzbua
  • Fixed the test suite after bumping dependencies, thanks @​Rotzbua

v3.3.1: DOMPurify 3.3.1

Compare Source

  • Updated ADD_FORBID_CONTENTS setting to extend default list, thanks @​MariusRumpf
  • Updated the ESM import syntax to be more correct, thanks @​binhpv

v3.3.0: DOMPurify 3.3.0

Compare Source

  • Added the SVG mask-type attribute to default allow-list, thanks @​prasadrajandran
  • Added support for ADD_ATTR and ADD_TAGS to accept functions, thanks @​nelstrom
  • Fixed an issue with the slot element being in both SVG and HTML allow-list, thanks @​Wim-Valgaeren

v3.2.7: DOMPurify 3.2.7

Compare Source

  • Added new attributes and elements to default allow-list, thanks @​elrion018
  • Added tagName parameter to custom element attributeNameCheck, thanks @​nelstrom
  • Added better check for animated href attributes, thanks @​llamakko
  • Updated and improved the bundled types, thanks @​ssi02014
  • Updated several tests to better align with new browser encoding behaviors
  • Improved the handling of potentially risky content inside CDATA elements, thanks @​securityMB & @​terjanq
  • Improved the regular expression for raw-text elements to cover textareas, thanks @​securityMB & @​terjanq

v3.2.6: DOMPurify 3.2.6

Compare Source

v3.2.5: DOMPurify 3.2.5

Compare Source

  • Added a check to the mXSS detection regex to be more strict, thanks @​masatokinugawa
  • Added ESM type imports in source, removes patch function, thanks @​donmccurdy
  • Added script to verify various TypeScript configurations, thanks @​reduckted
  • Added more modern browsers to the Karma launchers list
  • Added Node 23.x to tested runtimes, removed Node 17.x
  • Fixed the generation of source maps, thanks @​reduckted
  • Fixed an unexpected behavior with ALLOWED_URI_REGEXP using the 'g' flag, thanks @​hhk-png
  • Fixed a few typos in the README file

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

Configuration

📅 Schedule: (in timezone Asia/Kolkata)

  • Branch creation
    • "on tuesday and wednesday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

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.

@renovate renovate Bot added the renovate label Feb 3, 2025
@renovate renovate Bot changed the title fix(deps): update dependency dompurify to ^3.2.4 fix(deps): update dependency dompurify to ^3.2.5 Apr 3, 2025
@renovate renovate Bot force-pushed the renovate/dompurify-3.x branch from 43b06af to 43eef8c Compare April 3, 2025 15:04
@renovate renovate Bot force-pushed the renovate/dompurify-3.x branch from 43eef8c to e9b0141 Compare May 19, 2025 16:39
@renovate renovate Bot changed the title fix(deps): update dependency dompurify to ^3.2.5 fix(deps): update dependency dompurify to ^3.2.6 May 19, 2025
@renovate renovate Bot force-pushed the renovate/dompurify-3.x branch from e9b0141 to c4e9412 Compare September 17, 2025 15:11
@renovate renovate Bot changed the title fix(deps): update dependency dompurify to ^3.2.6 fix(deps): update dependency dompurify to ^3.2.7 Sep 17, 2025
@renovate renovate Bot changed the title fix(deps): update dependency dompurify to ^3.2.7 fix(deps): update dependency dompurify to ^3.3.0 Oct 13, 2025
@renovate renovate Bot force-pushed the renovate/dompurify-3.x branch from c4e9412 to 1e59ca5 Compare October 13, 2025 17:32
@renovate renovate Bot changed the title fix(deps): update dependency dompurify to ^3.3.0 fix(deps): update dependency dompurify to ^3.3.1 Dec 8, 2025
@renovate renovate Bot force-pushed the renovate/dompurify-3.x branch from 1e59ca5 to a736ef1 Compare December 8, 2025 19:14
@renovate renovate Bot force-pushed the renovate/dompurify-3.x branch from a736ef1 to f866a9e Compare March 5, 2026 13:04
@renovate renovate Bot changed the title fix(deps): update dependency dompurify to ^3.3.1 fix(deps): update dependency dompurify to ^3.3.2 Mar 5, 2026
@renovate renovate Bot changed the title fix(deps): update dependency dompurify to ^3.3.2 fix(deps): update dependency dompurify to ^3.3.3 Mar 11, 2026
@renovate renovate Bot force-pushed the renovate/dompurify-3.x branch from f866a9e to 80a4488 Compare March 11, 2026 09:29
@renovate renovate Bot changed the title fix(deps): update dependency dompurify to ^3.3.3 fix(deps): update dependency dompurify to ^3.4.0 Apr 14, 2026
@renovate renovate Bot force-pushed the renovate/dompurify-3.x branch from 80a4488 to 4bf66f8 Compare April 14, 2026 09:43
@renovate renovate Bot force-pushed the renovate/dompurify-3.x branch from 4bf66f8 to 2277b0c Compare April 21, 2026 20:31
@renovate renovate Bot changed the title fix(deps): update dependency dompurify to ^3.4.0 fix(deps): update dependency dompurify to ^3.4.1 Apr 21, 2026
@renovate renovate Bot changed the title fix(deps): update dependency dompurify to ^3.4.1 fix(deps): update dependency dompurify to ^3.4.2 Apr 30, 2026
@renovate renovate Bot force-pushed the renovate/dompurify-3.x branch from 2277b0c to 1d00f59 Compare April 30, 2026 19:07
@renovate renovate Bot changed the title fix(deps): update dependency dompurify to ^3.4.2 fix(deps): update dependency dompurify to ^3.4.3 May 13, 2026
@renovate renovate Bot force-pushed the renovate/dompurify-3.x branch 2 times, most recently from ff3cd65 to bd2143f Compare May 17, 2026 13:39
@renovate renovate Bot changed the title fix(deps): update dependency dompurify to ^3.4.3 fix(deps): update dependency dompurify to ^3.4.4 May 17, 2026
@renovate renovate Bot force-pushed the renovate/dompurify-3.x branch from bd2143f to 8a37ea3 Compare May 18, 2026 08:45
@renovate renovate Bot changed the title fix(deps): update dependency dompurify to ^3.4.4 fix(deps): update dependency dompurify to ^3.4.5 May 18, 2026
@renovate renovate Bot force-pushed the renovate/dompurify-3.x branch from 8a37ea3 to 0c5c702 Compare May 26, 2026 16:16
@renovate renovate Bot changed the title fix(deps): update dependency dompurify to ^3.4.5 fix(deps): update dependency dompurify to ^3.4.6 May 26, 2026
@renovate renovate Bot force-pushed the renovate/dompurify-3.x branch from 0c5c702 to 0bf72a4 Compare May 27, 2026 14:14
@renovate renovate Bot changed the title fix(deps): update dependency dompurify to ^3.4.6 fix(deps): update dependency dompurify to ^3.4.7 May 27, 2026
@renovate renovate Bot force-pushed the renovate/dompurify-3.x branch from 0bf72a4 to 36ecffe Compare June 3, 2026 15:09
@renovate renovate Bot changed the title fix(deps): update dependency dompurify to ^3.4.7 fix(deps): update dependency dompurify to ^3.4.8 Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants