Skip to content

chore(deps): bump dompurify from 3.3.1 to 3.4.17 in /packages/ui - #10

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/packages/ui/dompurify-3.4.17
Open

dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/packages/ui/dompurify-3.4.17

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 29, 2026 •

Copy link
Copy Markdown

Bumps dompurify from 3.3.1 to 3.4.17.

Release notes

Sourced from dompurify's releases.

DOMPurify 3.4.17

  • Fixed an issue with IN_PLACE, SAFE_FOR_TEMPLATES and shadow roots, thanks @​manus-pi
  • Fixed IN_PLACE handling of nodes that hooks or custom elements tough during sanitization, thanks @​uttej-badwane
  • Fixed the SMIL attributeName guard in XHTML mode, thanks @​Koukyosyumei
  • Hardened several smaller edge cases (namespaces, literal-text elements, isValidAttribute()), thanks @​artiphishell
  • Added a purify-edge test runner as a compatibility check, thanks @​anzal1
  • Clarified the IN_PLACE documentation in the README about possible risks
  • Updated several dependencies

DOMPurify 3.4.16

  • Fixed a problem with IN_PLACE node removal when working with hooks, thanks @​manus-pi
  • Fixed a problem with IN_PLACE sanitization and raw-text roots, thanks @​h-t-m
  • Fixed a problem with ESM default exports landing in CommonJS declarations, thanks @​ssi02014
  • Migrated from rollup to rolldown because performance, thanks @​ssi02014
  • Bumped several dependencies where possible

DOMPurify 3.4.15

  • Added better clobbering hardening when XML content is involved, thanks @​gnyselcuk
  • Added several smaller hardening and edge-case improvements, thanks @​leechristensen
  • Bumped several dependencies where possible

DOMPurify 3.4.14

  • Fixed an issue with possible bypasses when risky tags are allow-listed, thanks @​AlirezaRouhbakhsh
  • Fixed a couple of edge cases with mixed document contexts, thanks @​fishjojo1
  • Added the SVG pointer-events and vector-effect presentation attributes to the allow-list, thanks @​Jaybhade
  • Conducted another refactoring run, removed dead branches and duplicated logic, flattened attribute validation
  • Updated the documentation in several spots, README, wiki, etc., thanks @​Akokonunes
  • Updated several development dependencies and CI workflow actions

DOMPurify 3.4.13

  • Fixed an issue with hook removal during IN_PLACE sanitization, thanks @​koyokr
  • Fixed an issue with hooks potentially bypassing the clone guard, thanks @​AkshayjainG
  • Fixed an issue with DOM clobbering via ownerDocument during IN_PLACE, thanks @​AkshayjainG
  • Bumped several dependencies where possible

DOMPurify 3.4.12

  • Fixed an issue where a hook would not get called for custom elements, thanks @​Rikuxx0
  • Hardened the handling of hooks removing elements, @​mkrause-bee360
  • Added support for a few new SVG attributes, thanks @​cbn-falias & @​Develop-KIM
  • Hardened the handling of declarative partial updates
  • Updated the documentation is several spots, README, wiki, etc.
  • Bumped several dependencies where possible

DOMPurify 3.4.11

  • Fixed an issue with a leaky config for hooks via setConfig, thanks @​trace37labs
  • Bumped vulnerable development dependencies to arrive at plain 0 with npm audit
  • Updated the osv-scanner suppression list as no vulnerable dependencies are left for now
  • Updated up the linting tool-chain and removed now-redundant lint directives
  • Updated the documentation is several spots, README, wiki, etc.
  • Bumped several dependencies where possible

... (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.

Summary by cubic

Bumps dompurify in packages/ui from 3.3.1 to 3.4.17, pulling in multiple security and hardening fixes including a potential bypass fix and edge-case hardening.

  • The new version adds a prepare script that runs during installation; review the package contents before updating.

Written for commit 3ca3e64. Summary will update on new commits.

View guided diff Turn on auto-fix

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

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.4.17
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 29, 2026
@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0ae80ec8-dd90-488c-aaca-8c7167e21ab2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@depintel-bot

depintel-bot Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

🟢🟣 Ready to merge

Lapisa compared what this repository imports from dompurify between 3.3.1 and 3.4.17 (exports, import paths, and TypeScript parameter and return types where the package ships them), and checked the code behind some of the members it uses for new error paths; no affected usage was found. Lapisa does not run your code; the evidence receipt lists the function body changes it saw, and whether they change behaviour for you is for your tests to catch. This update also fixes known advisories — staying on the old version is the risk.

Security: This update fixes GHSA-39q2-94rc-95cp, GHSA-55q2-fjhq-7xh7, GHSA-6688-9rhm-gjv2 (+18 more).

View evidence and analysis receipt

depintel verdict: safe

Package: dompurify 3.3.1 -> 3.4.17

review npm-3ca3e64d-dompurify · engine 5730f7184

🔒 Security fix: this bump fixes GHSA-39q2-94rc-95cp, GHSA-55q2-fjhq-7xh7, GHSA-6688-9rhm-gjv2, GHSA-76mc-f452-cxcm (+17 more) (per OSV). Merging is security-positive; this review took the full path because security fixes often carry behavioral hardening.

Impact: NONE found — 1 import site(s) scanned, no removed export is reachable from them. OK to merge on this evidence.

npm static lane: contract face intact and unchanged (Articles 1&2: residual opacity disclosed, never verdict-bearing)

Signal Result
Repo usage scanned yes (1 import site(s))
Removed root symbols ∩ named imports —
Removed subpaths ∩ used subpaths —
sideEffects narrowed no
Module kind —
Tool-face hits (scripts/config) —

Basis: contract face intact and unchanged (Articles 1&2: residual opacity disclosed, never verdict-bearing) | workspace-member manifest: packages/ui/package.json (scope read at member; usage face repo-wide) ; dynamic-usage disclosure: 4 statically unresolvable dynamic import(s)/require(s) in repo ; member-access: whole-module face kept at packages/ui/src/components/markdown.tsx:3 (root face unread) ; peer-contract gap: peer contract: no package-lock.json at the moved manifest (yarn/pnpm/none) ; silent-behavior disclosure (kept-member behaviour): module value — name and signature intact, code it reaches gained new error path(s): "Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array o" (defined in dist/purify.cjs.js)

Run: 20261121T232926Z-3927bb95070e


Evidence is static analysis plus release evidence available to depintel at run time. This advisory verdict is not a substitute for maintainer review.

@depintel-bot depintel-bot Bot added lapisa:safe Dependency change: no affected usage found lapisa:security-fix Ships a security fix labels Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code lapisa:safe Dependency change: no affected usage found lapisa:security-fix Ships a security fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants