Skip to content

build(deps): bump dompurify from 3.4.11 to 3.4.13 in /socratiq - #1997

Merged
profvjreddi merged 3 commits into
devfrom
dependabot/npm_and_yarn/socratiq/dompurify-3.4.13
Aug 10, 2026
Merged

build(deps): bump dompurify from 3.4.11 to 3.4.13 in /socratiq#1997
profvjreddi merged 3 commits into
devfrom
dependabot/npm_and_yarn/socratiq/dompurify-3.4.13

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 8, 2026

Copy link
Copy Markdown
Contributor

Bumps dompurify from 3.4.11 to 3.4.13.

Release notes

Sourced from dompurify's releases.

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
Commits

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.4.11 to 3.4.13.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](cure53/DOMPurify@3.4.11...3.4.13)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.4.13
  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 Aug 8, 2026
@github-actions github-actions Bot added area: socratiq SocratiQ AI chatbot type: bug bug in rendering labels Aug 8, 2026
@Shashank-Tripathi-07

Copy link
Copy Markdown
Collaborator

Things changed in this dependency bump: Three real security fixes: a hook-removal bug during IN_PLACE sanitization, a hook-based bypass of the clone guard, and a DOM-clobbering vector via ownerDocument during IN_PLACE sanitization.

Components this dependency touches: Direct dependency, this is SocratiQ's XSS sanitization boundary, called before any AI-generated content is written via innerHTML.

Downstream components that may break (if merged): None functionally, but merging the manifest bump alone is not enough: the committed bundle at book/quarto/tools/scripts/socratiQ/bundle.js embeds the old dompurify build. If that bundle isn't regenerated, the live widget keeps shipping the vulnerable version regardless of what package.json says (this is exactly what #1892 hit last cycle).

What to do before merging: Rebuild book/quarto/tools/scripts/socratiQ/bundle.js with npm run build:vite under the same Node version CI uses, and commit the regenerated bundle alongside the manifest bump.

Final decision: Do the changes before merging for a successful merge.

@profvjreddi
profvjreddi merged commit 6bb4a1b into dev Aug 10, 2026
41 of 47 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/socratiq/dompurify-3.4.13 branch August 10, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: socratiq SocratiQ AI chatbot dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code type: bug bug in rendering

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants