Skip to content

[Cycode] Fix for vulnerable manifest file dependency - dompurify updated to version 3.4.0#79

Open
cycode-security[bot] wants to merge 1 commit into
mainfrom
cycode-fix-suggestion-manifest-dependency-update-3503f0ad-dff1-4999-ac9a-8ffd73520a18
Open

[Cycode] Fix for vulnerable manifest file dependency - dompurify updated to version 3.4.0#79
cycode-security[bot] wants to merge 1 commit into
mainfrom
cycode-fix-suggestion-manifest-dependency-update-3503f0ad-dff1-4999-ac9a-8ffd73520a18

Conversation

@cycode-security

@cycode-security cycode-security Bot commented Apr 22, 2026

Copy link
Copy Markdown

Cycode Vulnerable Dependencies Update

This pull request updates the following manifest file:

File Path Number of packages to update
ui/app/package.json 1

📂 ui/app/package.json

1 package will be updated to resolve vulnerabilities:

Package Name Current Version Updated Version
dompurify 3.2.4 3.4.0

Warning

Lock file generation failed for one or more manifest files in this pull request. Please regenerate the lock file manually before merging.


Note

Low Risk
Low risk dependency-only change updating dompurify to address a known vulnerability; potential impact is limited to any runtime behavior differences in HTML sanitization.

Overview
Updates the UI app’s dompurify dependency from ^3.2.4 to ^3.4.0 in ui/app/package.json to remediate a vulnerable package version.

Reviewed by Cursor Bugbot for commit 7aefde6. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 7aefde6. Configure here.

Comment thread ui/app/package.json
"@tanstack/react-query": "^4.39.1",
"date-fns": "^4.1.0",
"dompurify": "^3.2.4",
"dompurify": "^3.4.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Lock file not updated, vulnerable version still installed

High Severity

The package.json now requires dompurify ^3.4.0, but ui/package-lock.json still references and resolves version 3.2.4. Since npm ci (commonly used in CI/CD) installs from the lock file, the vulnerable version will continue to be installed in production. The security fix this PR intends to deliver won't actually take effect until the lock file is regenerated.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 7aefde6. Configure here.

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.

0 participants