Skip to content

fix: resolve Dependabot and code scanning security alerts (#721) - #722

Open
rsebade-ibm wants to merge 1 commit into
masterfrom
fix/security-alerts-721
Open

fix: resolve Dependabot and code scanning security alerts (#721)#722
rsebade-ibm wants to merge 1 commit into
masterfrom
fix/security-alerts-721

Conversation

@rsebade-ibm

Copy link
Copy Markdown
Collaborator

Summary

Resolves all open security alerts tracked in #721, covering 46 Dependabot
advisories (1 critical, 16 high, 13 medium, 9 low) and 2 code scanning alerts.

Dependency updates

Three packages are direct dependencies and have been updated in devDependencies
/ dependencies:

Package Before After CVEs fixed
webpack ^5.93.0 ^5.94.0 CVE-2024-43788
postcss ^8.2.1 ^8.5.23 CVE-2026-45623, CVE-2026-73646, CVE-2026-69153
glob ^10.3.12 ^10.5.0 CVE-2025-64756

The remaining vulnerable packages are transitive dependencies (pulled in by
cypress, @percy/cli, http-server, server, and others). A resolutions
block has been added to package.json to force patched versions across the
entire dependency tree:

axios, @babel/runtime, @cypress/request, body-parser, brace-expansion,
braces, browserslist, cookie, cross-spawn, decode-uri-component,
dompurify, engine.io, express, follow-redirects, form-data,
formidable, immutable, ip-address, js-yaml, lodash, nanoid,
on-headers, qs, send, serve-static, socket.io-parser, tar, tmp,
ws

GitHub Actions fixes

Addresses both actions/missing-workflow-permissions code scanning alerts:

  • Added permissions: contents: read to publish-cdn.yml and
    publish-cdn-test.yml to enforce least-privilege on workflow tokens
  • Pinned jakejarvis/s3-sync-action from @master to a specific commit SHA
    (7ed8b11) to prevent supply-chain risk from a mutable tag reference

Testing

No functional changes — all modifications are to dependency version constraints
and CI workflow permissions. yarn install completes cleanly and the lock file
has been updated.

Closes #721

@rsebade-ibm
rsebade-ibm requested a review from Palke September 9, 2026 15:58
Bump direct dependencies to patched versions:
- postcss ^8.2.1 → ^8.5.23 (CVE-2026-45623, CVE-2026-73646, CVE-2026-69153)
- webpack ^5.93.0 → ^5.94.0 (CVE-2024-43788)
- glob ^10.3.12 → ^10.5.0 (CVE-2025-64756)

Add yarn resolutions to force patched versions for transitive deps:
- axios ^1.12.0 (CVE-2023-45857, CVE-2024-39338, CVE-2025-27152, CVE-2025-58754)
- brace-expansion ^2.1.4 (CVE-2025-5889, CVE-2026-14257, CVE-2026-69152)
- braces ^3.0.3 (CVE-2024-4068)
- ws ^8.17.1 (CVE-2024-37890)
- body-parser ^1.20.3 (CVE-2024-45590)
- cross-spawn ^7.0.5 (CVE-2024-21538)
- follow-redirects ^1.16.0 (CVE-2024-28849)
- form-data ^4.0.4 (CVE-2025-7783)
- tar ^7.5.4 (CVE-2026-23745, CVE-2026-23950)
- js-yaml ^4.3.2 (CVE-2025-64718, GHSA-5p4m-2wfm-xmqj, CVE-2026-84375)
- dompurify ^3.4.13 (CVE-2025-26791, GHSA-55q2-fjhq-7xh7)
- @babel/runtime ^7.26.10 (CVE-2025-27789)
- qs ^6.14.1 (CVE-2025-15284)
- lodash ^4.17.23 (CVE-2025-13465)
- cookie ^0.7.0 (CVE-2024-47764)
- express ^4.20.0 (CVE-2024-43796)
- send ^0.19.0 (CVE-2024-43799)
- serve-static ^1.16.0 (CVE-2024-43800)
- nanoid ^3.3.12 (CVE-2026-73086)
- browserslist ^4.28.7 (CVE-2026-73088)
- immutable ^4.3.9 (CVE-2026-59880)
- socket.io-parser ^4.2.7 (CVE-2026-69185)
- engine.io ^6.6.7 (CVE-2026-59724)
- ip-address ^10.3.1 (CVE-2026-69192)
- postcss (resolution) ^8.5.23 (CVE-2026-69153)
- @cypress/request ^3.0.0 (CVE-2023-28155)
- decode-uri-component ^0.5.0 (CVE-2026-45822)
- formidable ^2.1.3 (CVE-2025-46653)
- on-headers ^1.1.0 (CVE-2025-7339)
- tmp ^0.2.4 (CVE-2025-54798)

Fix GitHub Actions workflow permissions (code scanning alert):
- Add 'permissions: contents: read' to publish-cdn.yml
- Add 'permissions: contents: read' to publish-cdn-test.yml
- Pin jakejarvis/s3-sync-action to a specific commit hash

Closes #721

Signed-off-by: Ryan Sebade <rsebade@ibm.com>
@rsebade-ibm
rsebade-ibm force-pushed the fix/security-alerts-721 branch from 03564f0 to bdf8c7d Compare September 9, 2026 16:01
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.

🔒 Security Alerts — IBM/plex

1 participant