Skip to content

fix: bump 12 deps and add 2 overrides to resolve Snyk vulnerabilities - #55

Merged
cs-raj merged 1 commit into
mainfrom
fix/snyk-patch-deps-20260809
Aug 9, 2026
Merged

fix: bump 12 deps and add 2 overrides to resolve Snyk vulnerabilities#55
cs-raj merged 1 commit into
mainfrom
fix/snyk-patch-deps-20260809

Conversation

@cs-raj

@cs-raj cs-raj commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bumped 12 direct dependencies (patch/minor) to latest stable
  • Added 2 overrides to pin vulnerable transitive deps
  • Bumped package version 0.1.1 → 0.1.2

Direct dependency changes

Package Before After
@contentstack/delivery-sdk ^5.2.1 ^5.5.2
@contentstack/live-preview-utils ^4.4.4 ^4.4.5
dompurify ^3.4.12 ^3.4.13
@eslint/js ^9.39.4 ^9.39.5
@tailwindcss/postcss ^4.3.1 ^4.3.3
@types/react ^19.2.17 ^19.2.18
@types/react-dom ^19.2.3 ^19.2.4
eslint ^9.39.4 ^9.39.5
globals ^17.6.0 ^17.9.0
postcss ^8.5.24 ^8.5.26
tailwindcss ^4.3.1 ^4.3.3
vite ^7.3.5 ^7.3.6

Overrides added

Package Override Fixes
js-yaml 4.3.1 CVE-2026-59870 ReDoS
nanoid 3.3.18 Zero-size loop vuln

Vulnerability counts (before → after)

Tool Severity Before After Fixed
npm audit High 3 0 ✓ 3
npm audit Moderate 1 0 ✓ 1
Snyk SCA Medium 2 0 ✓ 2

Remaining issues

  • brace-expansion override skipped — proposed 5.0.9 is cross-major vs locked 1.1.16; omitted to avoid tree incompatibilities.
  • Build status ✅ — Vite build passed (chunk size warning is pre-existing, not a blocker).

…bilities

Direct dep upgrades:
- @contentstack/delivery-sdk ^5.2.1 → ^5.5.2
- @contentstack/live-preview-utils ^4.4.4 → ^4.4.5
- dompurify ^3.4.12 → ^3.4.13 (fixes XSS)
- @eslint/js ^9.39.4 → ^9.39.5
- @tailwindcss/postcss ^4.3.1 → ^4.3.3
- @types/react ^19.2.17 → ^19.2.18
- @types/react-dom ^19.2.3 → ^19.2.4
- eslint ^9.39.4 → ^9.39.5
- globals ^17.6.0 → ^17.9.0
- postcss ^8.5.24 → ^8.5.26
- tailwindcss ^4.3.1 → ^4.3.3
- vite ^7.3.5 → ^7.3.6

Overrides added:
- js-yaml → 4.3.1 (fixes CVE-2026-59870 ReDoS)
- nanoid → 3.3.18 (fixes zero-size loop)

Package version: 0.1.1 → 0.1.2
Vuln count: npm 4 → 0, Snyk 2 medium → 0. Build verified passing.
@cs-raj
cs-raj requested a review from a team as a code owner August 9, 2026 10:17
@snyk-io

snyk-io Bot commented Aug 9, 2026

Copy link
Copy Markdown

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.

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@cs-raj
cs-raj merged commit abf343a into main Aug 9, 2026
6 checks passed
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