Skip to content

Fix critical dompurify, body-parser and toml advisories - #2626

Merged
ravikiranvm merged 2 commits into
mainfrom
OPS-4973
Oct 23, 2026
Merged

ravikiranvm merged 2 commits into
mainfrom
OPS-4973

Conversation

@ravikiranvm

@ravikiranvm ravikiranvm commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Fixes OPS-4973.

Additional Notes

npm audit on main reported 2 critical findings, both from dompurify (monaco-editor is flagged only transitively). snyk test reported no criticals but flagged a high in body-parser that npm audit misses. Both have non-major fixes. Both scanners also report four high toml advisories, fixed by bumping the existing toml override.

Package From To Advisory
dompurify (direct, forced via overrides on mermaid, monaco-editor, posthog-js) 3.4.16 3.4.17 GHSA-cg2g-xh64-v4q7, GHSA-mrv2-3pqr-j5jr, GHSA-c6gr-qvv4-5v3f (critical)
body-parser (via @modelcontextprotocol/sdk > express 5.2.1) 2.3.0 2.4.0 SNYK-JS-BODYPARSER-21431495 / GHSA-27r3-jxmh-p828 (high)
toml (override; via snowflake-sdk 3.3.0 and webpack-cli) 5.0.0 5.0.1 GHSA-4qx8-w7c3-pj3p, GHSA-9j65-hcg3-gc64, GHSA-9qmh-m7c6-f92p, GHSA-h895-cgqg-jf52 (high)

Bump dompurify 3.4.16 -> 3.4.17 (GHSA-cg2g-xh64-v4q7, GHSA-mrv2-3pqr-j5jr,
GHSA-c6gr-qvv4-5v3f) and body-parser 2.3.0 -> 2.4.0 via express 5
(SNYK-JS-BODYPARSER-21431495 / GHSA-27r3-jxmh-p828).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 23, 2026 06:30
@linear

linear Bot commented Oct 23, 2026

Copy link
Copy Markdown

OPS-4973

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The scoped dependency updates are consistent with existing constraints, reported validation passed, and no unresolved issues were identified.

No open issues 🎉

What changed in this PR

Updates dependencies used by OpenOps to address DOMPurify and body-parser security advisories without major-version upgrades.

Changes:

  • Bumps DOMPurify from 3.4.16 to 3.4.17.
  • Updates the locked body-parser version from 2.3.0 to 2.4.0 and its dependency requirements.
  • Synchronizes third-party license version references.

Blocking: None
Non-blocking: None
Merge recommendation: Ready to merge

File Description
THIRD_PARTY_LICENSES.txt Updates version references for both upgraded packages.
package.json Pins DOMPurify to 3.4.17.
package-lock.json Records updated package versions, integrity hashes, and dependency requirements.

Review effort: Balanced

Fixes GHSA-4qx8-w7c3-pj3p, GHSA-9j65-hcg3-gc64, GHSA-9qmh-m7c6-f92p and
GHSA-h895-cgqg-jf52 in toml (via snowflake-sdk and webpack-cli) without
the held-back snowflake-sdk 3.4 upgrade.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ravikiranvm ravikiranvm changed the title Fix critical dompurify and body-parser advisories Fix critical dompurify, body-parser and toml advisories Oct 23, 2026
@sonarqubecloud

Copy link
Copy Markdown

@ravikiranvm
ravikiranvm requested a review from pawel-oo October 23, 2026 07:23
@ravikiranvm
ravikiranvm merged commit 529e152 into main Oct 23, 2026
24 checks passed
@ravikiranvm
ravikiranvm deleted the OPS-4973 branch October 23, 2026 07:28
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