Skip to content

chore(deps): postcss-selector-parser 6.1.4, dompurify 3.4.11 to address CVEs#12282

Merged
yubonluo merged 5 commits into
opensearch-project:mainfrom
tomkdgun:cve2_tk
Jun 25, 2026
Merged

chore(deps): postcss-selector-parser 6.1.4, dompurify 3.4.11 to address CVEs#12282
yubonluo merged 5 commits into
opensearch-project:mainfrom
tomkdgun:cve2_tk

Conversation

@tomkdgun

@tomkdgun tomkdgun commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Description

Issues Resolved

#12053

After delivery the PR below can be closed also:
#12237

Screenshot

Testing the changes

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Commits are signed per the DCO using --signoff

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

PR Code Analyzer ❗

AI-powered 'Code-Diff-Analyzer' found issues on commit 1680562.

PathLineSeverityDescription
package.json241highDependency version change: dompurify bumped from ^3.4.7 to ^3.4.11. This is a security-critical XSS sanitization library; version changes must be verified against the official release.
package.json361highDependency version change: @types/dompurify bumped from ^3.0.5 to ^3.2.0. yarn.lock shows its transitive dependency changed from @types/trusted-types to dompurify directly — a structural dependency graph change requiring verification.
package.json502highDependency version change: pngjs bumped from ^3.4.0 to ^7.0.0 (major version jump of 4 major versions). Large jumps increase supply chain risk surface.
package.json501highDependency version change: pixelmatch bumped from ^5.1.0 to ^5.3.0. Must verify artifact authenticity at the new version.
package.json400highDependency version change: @types/pngjs bumped from ^3.4.0 to ^6.0.5 (major version jump). Must verify artifact authenticity.
yarn.lock11221highDependency version change: express bumped from 4.22.1 to 4.22.2 with a corresponding body-parser constraint change (~1.20.3 to ~1.20.5). Requires verification of resolved artifact integrity.
yarn.lock17103highDependency version change: postcss-selector-parser bumped from 6.0.10 to 6.1.4. Must verify artifact authenticity at new version.
package.json159highRemoval of resolution pins for **/lodash and **/lodash-es (^4.18.0). These pins enforced a minimum safe version; removal allows transitive dependencies to resolve to older potentially vulnerable versions.
package.json138highRemoval of resolution pin for **/es5-ext (^0.10.63). This pin enforced a safe version of a package with a known postinstall telemetry incident; removal allows transitive deps to resolve to older versions.
package.json130highRemoval of resolution pin for **/@microsoft/tsdoc-config/ajv (^6.14.0) and **/minimist (^1.2.8). These were explicit security-motivated pins; their removal allows transitive resolution to older vulnerable versions.

The table above displays the top 10 most important findings.

Total: 15 | Critical: 0 | High: 15 | Medium: 0 | Low: 0


Pull Requests Author(s): Please update your Pull Request according to the report above.

Repository Maintainer(s): You can bypass diff analyzer by adding label skip-diff-analyzer after reviewing the changes carefully, then re-run failed actions. To re-enable the analyzer, remove the label, then re-run all actions.


⚠️ Note: The Code-Diff-Analyzer helps protect against potentially harmful code patterns. Please ensure you have thoroughly reviewed the changes beforehand.

Thanks.

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

✅ All unit and integration tests passing

🔗 Workflow run · commit 1680562b3162716b1daaf7a6e7d7a2c89e049d6c

tomkdgun added 5 commits June 25, 2026 11:34
Signed-off-by: Tomasz Kania <tomasz.kania@pl.ibm.com>
Signed-off-by: Tomasz Kania <tomasz.kania@pl.ibm.com>
Signed-off-by: Tomasz Kania <tomasz.kania@pl.ibm.com>
Signed-off-by: Tomasz Kania <tomasz.kania@pl.ibm.com>
Signed-off-by: Tomasz Kania <tomasz.kania@pl.ibm.com>
@yubonluo yubonluo merged commit 5517e06 into opensearch-project:main Jun 25, 2026
79 of 80 checks passed
@tomkdgun tomkdgun deleted the cve2_tk branch June 25, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants