Skip to content

[Snyk] Security upgrade dompurify from 3.3.0 to 3.4.0#40

Open
philvarner-snyk wants to merge 1 commit into
mainfrom
snyk-fix-5b370fdf2c43ea1d2b1f94fdc558bf99
Open

[Snyk] Security upgrade dompurify from 3.3.0 to 3.4.0#40
philvarner-snyk wants to merge 1 commit into
mainfrom
snyk-fix-5b370fdf2c43ea1d2b1f94fdc558bf99

Conversation

@philvarner-snyk

Copy link
Copy Markdown
Collaborator

snyk-top-banner

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

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

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

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.

@philvarner-snyk

Copy link
Copy Markdown
Collaborator Author

Merge Risk: Medium

This is a minor version upgrade for dompurify from 3.3.0 to 3.4.0. The release consists primarily of security fixes and bug fixes related to sanitization logic.

Key Changes:

  • Behavioral Fixes: The update addresses several edge cases where configuration options could be bypassed or lead to unexpected behavior. For example, a fix ensures FORBID_TAGS now correctly overrides ADD_TAGS.
  • Security Patches: The release includes fixes for several potential mutation XSS (mXSS) vulnerabilities and prototype pollution issues.

While this release does not introduce explicitly breaking API changes, the fixes alter sanitization behavior to be more strict and correct. This could potentially affect applications that were unintentionally relying on the previous, less strict behavior.

Recommendation: This upgrade is recommended for its security enhancements. However, due to the behavioral changes in sanitization, it is important to verify that the stricter parsing does not negatively impact legitimate use cases in your application.

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.

@philvarner-snyk

philvarner-snyk commented Apr 17, 2026

Copy link
Copy Markdown
Collaborator Author

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.

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