Skip to content

chore(deps): bump vendored runtime libs (dompurify, lodash-es)#1436

Open
gdevenyi wants to merge 1 commit into
mainfrom
security/deps-vendored-runtime
Open

chore(deps): bump vendored runtime libs (dompurify, lodash-es)#1436
gdevenyi wants to merge 1 commit into
mainfrom
security/deps-vendored-runtime

Conversation

@gdevenyi

Copy link
Copy Markdown
Contributor

Part 2 of 2 of the Dependabot security sweep. This PR bumps the vendored instrument-runtime libraries — the versions that authored instruments load at runtime via runtime/v1.

Vendored package Change Advisories
vendor/dompurify@3.x 3.1.6 → 3.4.12 15 (sanitizer/IN_PLACE/SAFE_FOR_TEMPLATES bypasses, ADD_TAGS/USE_PROFILES prototype pollution, mutation-XSS)
vendor/lodash-es@4.x 4.17.21 → 4.18.1 2 (code injection via _.template, prototype pollution in _.unset/_.omit)

Why these are safe to bump

Both stay within the vendored major line (dompurify@3.x, lodash-es@4.x), so the runtime API contract instruments depend on is unchanged. jquery@1.12.4 is deliberately not touched — it is an intentional legacy pin and its advisory is being resolved separately (instruments are trusted, same-origin code, so it adds no attack surface).

Verification

  • Delta is exactly dompurify 3.1.6→3.4.12 (+ its new @types/trusted-types types dep) and lodash-es 4.17.21→4.18.1 (dedupes onto the 4.18.1 already in the tree) — nothing else.
  • runtime/v1 bundles successfully (runtime-bundler → "Success!").
  • pnpm lint ✅ (33/33) · pnpm test ✅ (307 passed, 1 skipped).

🤖 Generated with Claude Code

Bump the instrument-runtime vendored libraries to clear Dependabot
advisories affecting the versions instruments load at runtime:

- dompurify 3.1.6 -> 3.4.12 (15 advisories: sanitizer bypasses,
  prototype pollution, mutation-XSS)
- lodash-es 4.17.21 -> 4.18.1 (code injection via _.template,
  prototype pollution in _.unset / _.omit)

Both stay within the vendored major line (dompurify 3.x, lodash-es 4.x),
so the runtime API contract is unchanged. runtime/v1 bundles cleanly and
the full lint + unit test suites pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@gdevenyi
gdevenyi requested a review from joshunrau as a code owner July 23, 2026 15:16
Copilot AI review requested due to automatic review settings July 23, 2026 15:16

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

2 participants