chore(deps): bump dompurify to 3.4.13 to resolve XSS CVEs BED-9194 - #3143
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe pull request updates the ChangesDOMPurify dependency updates
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@packages/javascript/bh-shared-ui/package.json`:
- Line 34: Update the dompurify dependency declaration in the bh-shared-ui
package manifest from ^3.4.0 to ^3.4.13, ensuring this workspace directly
requires the patched minimum version.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro
Run ID: f13ff5b1-7b4b-4eb1-b74c-01352fbd55f0
⛔ Files ignored due to path filters (3)
.yarn/cache/dompurify-npm-3.2.4-d8ea6c7c6a-98570c5338.zipis excluded by!**/.yarn/**,!**/*.zip.yarn/cache/dompurify-npm-3.4.13-71386e31f7-0db0a309a8.zipis excluded by!**/.yarn/**,!**/*.zipyarn.lockis excluded by!**/yarn.lock,!**/*.lock
📒 Files selected for processing (2)
package.jsonpackages/javascript/bh-shared-ui/package.json
Summary
Resolves BED-9194 by bumping
dompurifyto a patched release.A BurpSuite DAST scan flagged
dompurify3.3.3 as a vulnerable JavaScript library. This PR upgrades todompurify3.4.13, which resolves the reported CVEs and all subsequentdompurifyadvisories.CVEs resolved
CUSTOM_ELEMENT_HANDLINGfallbackSAFE_FOR_TEMPLATESbypass inRETURN_DOMmodeADD_TAGSfunction form bypassesFORBID_TAGSAll three are fixed in
dompurify3.4.0; going to 3.4.13 additionally clears several moderate advisories introduced in 3.4.1–3.4.12.Changes
package.json:dompurifyresolution3.2.4→3.4.13packages/javascript/bh-shared-ui/package.json:dompurifydependency^3.3.3→^3.4.0yarn.lock+ committed Yarn offline cache refreshed to 3.4.13Testing
yarn installsucceeds; lockfile resolvesdompurify3.4.13yarn npm audit(production): no remainingdompurifyadvisoriesCo-authored by Augment Code
Summary by CodeRabbit