fix(security): patch minimatch ReDoS and DOMPurify XSS vulnerabilities#26334
fix(security): patch minimatch ReDoS and DOMPurify XSS vulnerabilities#26334chirag-madlani merged 2 commits intomainfrom
Conversation
🔍 CI failure analysis for 1956013: Playwright E2E tests are timing out and failing with browser context closure errors after UI dependency updates (minimatch and DOMPurify security patches). 1 test failure + 1 flaky test caused by dependency compatibility issues or timing changes.OverviewAnalyzed 7 CI logs across 6 error templates. The PR introduces security patches to minimatch and DOMPurify by updating dependencies in yarn.lock and package.json. This has triggered Playwright E2E test failures during the ingestion test suite, with 1 confirmed test failure and 1 flaky test exhibiting browser context lifecycle issues. FailuresPlaywright E2E Test Timeouts & Browser Context Closure (confidence: medium)
Both errors indicate premature page/context cleanup or browser lifecycle management disruption.
Infrastructure/Build Setup (confidence: low)
Summary
Code Review ✅ Approved 1 resolved / 1 findingsSecurity patch addresses minimatch ReDoS (CVE-2022-3517) and DOMPurify XSS vulnerabilities by updating dependencies in the UI lockfile. No issues found. ✅ 1 resolved✅ Security: minimatch 3.1.4 (CVE-2022-3517) still present in main UI lockfile
Tip Comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|
|
Failed to cherry-pick changes to the 1.12.2 branch. |



Describe your changes:
Fixes:
Summary
Addresses two Dependabot security advisories by upgrading vulnerable transitive dependencies via yarn resolutions.
CVE fixes
minimatch ReDoS (
openmetadata-ui-core-components)minimatch >= 10.0.0, < 10.2.3(introduced viavite-plugin-dts)10.2.3viaresolutions["vite-plugin-dts/minimatch"]DOMPurify XSS (
openmetadata-ui)dompurify >= 3.1.3, <= 3.3.1(introduced via@toast-ui/react-editor)3.3.2viaresolutions["dompurify"]Changes
openmetadata-ui-core-components/.../yarn.lock— minimatch10.2.1→10.2.3openmetadata-ui/.../package.json— dompurify resolution3.2.7→3.3.2openmetadata-ui/.../yarn.lock— dompurify3.2.7→3.3.2Type of change:
Checklist:
Fixes <issue-number>: <short explanation>