Skip to content

build(deps): bump dompurify from 3.3.3 to 3.4.5#4815

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/dompurify-3.4.5
Open

build(deps): bump dompurify from 3.3.3 to 3.4.5#4815
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/dompurify-3.4.5

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 18, 2026

Bumps dompurify from 3.3.3 to 3.4.5.

Release notes

Sourced from dompurify's releases.

DOMPurify 3.4.5

  • Fixed a bypass caused by the new HTML element selectedcontent added in 3.4.4, thanks @​KabirAcharya

Note that this is a security release for an issue introduced in 3.4.4 and should be upgraded to immediately.

DOMPurify 3.4.4

  • 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

🚨 This release had been flagged as deprecated, please use DOMPurify 3.4.5 instead 🚨

DOMPurify 3.4.3

  • Fixed an issue with handling of nested Shadow DOM trees, thanks @​fishjojo1
  • Fixed the template regexes to be more robust against ReDoS attacks, thanks @​aleung27
  • Updated the node iteration code to catch more Shadow DOM related issues
  • Updated Playwright and added Node 26 to test matrix
  • Updated existing workflows, fuzzer, release signing, etc., added more tests
  • Bumped several dependencies where possible

DOMPurify 3.4.2

  • 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

DOMPurify 3.4.1

  • 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

DOMPurify 3.4.0

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

... (truncated)

Commits
Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.3.3 to 3.4.5.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](cure53/DOMPurify@3.3.3...3.4.5)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.4.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added area/frontend Needs frontend code changes dependency-upgrade Dependency upgrade is needed labels May 18, 2026
@github-actions
Copy link
Copy Markdown
Contributor

## 🔦 Lighthouse Benchmark

Tested: https://ks-dependabot-npm-and-yarn-dompur-docs.kestra-io.workers.dev on 2026-05-18 17:51 UTC
No baseline available — scores will appear after the first merge to main

Scores (0–100, higher is better)

Page Performance Accessibility Best Practices SEO
Home 61 82 59 92
Pricing 95 91 59 100
Enterprise 95 82 59 100
Cloud 90 86 59 100
About Us 80 91 59 100
Docs Landing 94 88 59 92
Contribute to Kestra (simple docs) 92 87 59 92
Flow (full featured docs) 84 90 59 92
Blog Index 65 90 59 100
Blog Post (sample) 97 87 59 100
VS Page (sample) 94 88 59 100
Plugins Landing 89 80 59 92
Plugin Page (sample) 92 87 59 100
Plugin Debug Page (sample) 92 87 59 100
Plugin Debug Return Page (sample) 92 87 59 100
Blueprints Landing 89 80 59 92
Blueprint Audit Logs CSV Export 66 86 59 100

Core Web Vitals (lower is better)

Page LCP FCP TBT CLS Speed Index
Home 1.56 s 0.68 s 864 ms 0.002 2.57 s
Pricing 0.98 s 0.58 s 152 ms 0.000 0.80 s
Enterprise 1.12 s 0.54 s 143 ms 0.003 0.83 s
Cloud 2.09 s 0.55 s 81 ms 0.000 0.86 s
About Us 3.47 s 0.66 s 81 ms 0.000 0.93 s
Docs Landing 0.87 s 0.65 s 167 ms 0.000 1.06 s
Contribute to Kestra (simple docs) 1.20 s 0.56 s 190 ms 0.000 0.72 s
Flow (full featured docs) 1.35 s 0.54 s 277 ms 0.000 1.22 s
Blog Index 9.33 s 0.52 s 81 ms 0.000 15.03 s
Blog Post (sample) 1.07 s 0.55 s 88 ms 0.000 0.90 s
VS Page (sample) 1.07 s 0.60 s 158 ms 0.064 0.78 s
Plugins Landing 0.97 s 0.57 s 129 ms 0.000 3.06 s
Plugin Page (sample) 0.86 s 0.52 s 135 ms 0.051 2.30 s
Plugin Debug Page (sample) 0.87 s 0.51 s 131 ms 0.001 2.35 s
Plugin Debug Return Page (sample) 1.01 s 0.57 s 113 ms 0.025 2.19 s
Blueprints Landing 1.49 s 0.88 s 85 ms 0.000 2.17 s
Blueprint Audit Logs CSV Export 1.02 s 0.62 s 223 ms 0.485 2.16 s
Legend

🟢 improved  ·  🔻 regressed  ·  (blank) no significant change
Score threshold: ±10 pts  ·  Metric threshold: ±30% of baseline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/frontend Needs frontend code changes dependency-upgrade Dependency upgrade is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants