Skip to content

[Snyk] Security upgrade dompurify from 3.2.4 to 3.2.7#503

Open
graymalkin77 wants to merge 1 commit intomasterfrom
snyk-fix-8d481e00802a6b9ed7e288d919fb417c
Open

[Snyk] Security upgrade dompurify from 3.2.4 to 3.2.7#503
graymalkin77 wants to merge 1 commit intomasterfrom
snyk-fix-8d481e00802a6b9ed7e288d919fb417c

Conversation

@graymalkin77
Copy link
Copy Markdown

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 Cross-site Scripting (XSS)
SNYK-JS-DOMPURIFY-15371386
  541  

Breaking Change Risk

Merge Risk: Low

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:

🦉 Cross-site Scripting (XSS)

@graymalkin77
Copy link
Copy Markdown
Author

Merge Risk: Low

This is a patch version upgrade that includes security enhancements and bug fixes across three versions.

Highlights:

  • v3.2.5: Improves mXSS detection with a stricter regex and adds ESM type imports. An internal patch function was removed.
  • v3.2.6: Adds hardening against prototype pollution, improves attribute handling, and adds matrix: to the allowed URI schemes.
  • v3.2.7: Adds new attributes and elements to the default allow-list and improves bundled TypeScript types.

These changes consist of security fixes and minor feature additions. No breaking changes affecting standard usage have been identified.

Source: GitHub Releases

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

Copilot AI review requested due to automatic review settings March 5, 2026 01:43
@graymalkin77
Copy link
Copy Markdown
Author

graymalkin77 commented Mar 5, 2026

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

Status Scanner 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.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates dompurify to a patched version to address a Snyk-reported XSS vulnerability in the project’s npm dependencies.

Changes:

  • Bump dompurify from 3.2.4 to 3.2.7 in package.json.
  • Update package-lock.json to resolve dompurify@3.2.7.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Updates the direct dependency version for dompurify to 3.2.7.
package-lock.json Updates the lockfile resolution for dompurify to 3.2.7 (but currently has a root spec mismatch noted in comments).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants