Skip to content

SWI-3723 [Snyk] Security upgrade dompurify from 3.3.3 to 3.4.0#4

Open
bwappsec wants to merge 1 commit intomainfrom
snyk-fix-73bf6ea5ae54059061b2b0bf908ea799
Open

SWI-3723 [Snyk] Security upgrade dompurify from 3.3.3 to 3.4.0#4
bwappsec wants to merge 1 commit intomainfrom
snyk-fix-73bf6ea5ae54059061b2b0bf908ea799

Conversation

@bwappsec
Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the pnpm dependencies of this project.

Snyk changed the following file(s):

  • ui/package.json
⚠️ Warning
Failed to update the pnpm-lock.yaml, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Operator Precedence Logic Error
SNYK-JS-DOMPURIFY-16078387
  104  

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@bwappsec
Copy link
Copy Markdown
Author

Merge Risk: Medium

This minor upgrade for DOMPurify introduces several important security fixes that correct previous behavior and may require verification.

Key Changes:

  • Stricter Validation: The library now correctly enforces configuration rules. For example, FORBID_TAGS will now always take precedence over ADD_TAGS, and ADD_ATTR predicates will no longer skip URI validation.
  • Security Fixes: The update addresses multiple security issues, including potential mutation XSS (mXSS) and prototype pollution vulnerabilities.

While no APIs were removed, these changes enforce stricter and more secure sanitization. Applications that may have inadvertently relied on previous, less secure behaviors could be impacted.

Recommendation: It is recommended to verify that your sanitization configurations and outputs are as expected after this security update.

Source: GitHub Release Notes

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@bwappsec
Copy link
Copy Markdown
Author

bwappsec commented Apr 16, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@bwappsec bwappsec changed the title [Snyk] Security upgrade dompurify from 3.3.3 to 3.4.0 SWI-3723 [Snyk] Security upgrade dompurify from 3.3.3 to 3.4.0 Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants