Skip to content

Upgrade axios, dompurify, and lodash to fix security vulnerabilities#268

Merged
kwinto merged 1 commit intomainfrom
security/131658-upgrade-vulnerable-deps
Apr 17, 2026
Merged

Upgrade axios, dompurify, and lodash to fix security vulnerabilities#268
kwinto merged 1 commit intomainfrom
security/131658-upgrade-vulnerable-deps

Conversation

@peyman-mashhadi
Copy link
Copy Markdown
Contributor

@peyman-mashhadi peyman-mashhadi commented Apr 14, 2026

Summary

  • axios 1.13.5 → 1.15.0 — fixes 5 vulnerabilities (1 critical, 3 high, 1 medium)
  • dompurify 3.3.0 → 3.3.2 — fixes 4 medium vulnerabilities
  • lodash ^4.17.21 → ^4.18.1 — fixes 3 vulnerabilities (1 high, 2 medium)

All are minor/patch upgrades with no breaking changes. Build passes (UMD + ESM).

Relates to #131658

Test plan

  • npm run build passes (UMD + ESM)
  • Verify Snyk scan shows reduced vulnerability count
  • Smoke test webchat in browser

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings April 14, 2026 11:52
@peyman-mashhadi peyman-mashhadi temporarily deployed to pr-preview-268 April 14, 2026 11:52 — with GitHub Actions Inactive
@graymalkin77
Copy link
Copy Markdown

graymalkin77 commented Apr 14, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates frontend runtime dependencies to address reported security vulnerabilities in the Webchat v3 bundle build (UMD + ESM).

Changes:

  • Bump axios from 1.13.5 to 1.15.0.
  • Bump dompurify from 3.3.0 to 3.3.2.
  • Update lodash from ^4.17.21 to 4.18.1 (also changes from a range to a pinned version).

Comment thread package.json Outdated
@peyman-mashhadi peyman-mashhadi temporarily deployed to pr-preview-268 April 14, 2026 11:55 — with GitHub Actions Inactive
@peyman-mashhadi peyman-mashhadi changed the title Upgrade axios and dompurify to fix security vulnerabilities Upgrade axios, dompurify, and lodash to fix security vulnerabilities Apr 14, 2026
@peyman-mashhadi peyman-mashhadi temporarily deployed to pr-preview-268 April 14, 2026 11:57 — with GitHub Actions Inactive
- axios 1.13.5 → 1.15.0 (fixes CVE-2025-62718 critical, CVE-2026-25639,
  CVE-2026-39865, CVE-2026-40175 high, CVE-2025-58754 medium)
- dompurify 3.3.0 → 3.3.2 (fixes CVE-2026-0540, CVE-2025-15599 XSS,
  prototype pollution, permissive inputs medium)
- lodash ^4.17.21 → ^4.18.1 (fixes CVE-2026-4800 high,
  CVE-2025-13465, CVE-2026-2950 medium)

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Copilot AI review requested due to automatic review settings April 14, 2026 12:07
@peyman-mashhadi peyman-mashhadi force-pushed the security/131658-upgrade-vulnerable-deps branch from 44c9f87 to 54b69dd Compare April 14, 2026 12:07
@peyman-mashhadi peyman-mashhadi temporarily deployed to pr-preview-268 April 14, 2026 12:07 — with GitHub Actions Inactive
github-actions Bot added a commit that referenced this pull request Apr 14, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 2 changed files in this pull request and generated no new comments.

Copy link
Copy Markdown
Collaborator

@kwinto kwinto left a comment

Choose a reason for hiding this comment

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

LGTM. Verified axios is only used in endpoint.ts for multipart file upload (stable API across 1.13→1.15). dompurify is a patch bump. lodash stays on 4.x. All CI green.

@kwinto kwinto merged commit f5616ca into main Apr 17, 2026
12 checks passed
github-actions Bot added a commit that referenced this pull request Apr 17, 2026
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.

4 participants