Skip to content

chore: Resolve all 105 security vulnerabilities#213

Merged
MSACC merged 3 commits into
masterfrom
chore/security-updates
Feb 1, 2026
Merged

chore: Resolve all 105 security vulnerabilities#213
MSACC merged 3 commits into
masterfrom
chore/security-updates

Conversation

@MSACC
Copy link
Copy Markdown
Contributor

@MSACC MSACC commented Dec 1, 2025

Security Audit Results:

  • Before: 5 critical, 14 high, 56 moderate, 30 low
  • After: 0 vulnerabilities

Changes:

  • Added yup@^0.32.9 to dependencies (explicit declaration)
  • Added strip-ansi@^6.0.1 to devDependencies (build compatibility)
  • Updated @strapi/strapi@^5.24.1 in devDependencies
  • Added 18 yarn resolutions for vulnerable packages
  • Added .nvmrc with Node 20.18.0

Key Resolutions:

  • form-data@^4.0.4, koa@^2.15.4, axios@^1.12.0
  • glob@^10.5.0, tar-fs@^2.1.4, esbuild@^0.25.0
  • js-yaml@^4.1.1, undici@^6.21.2, vite@^5.4.12
  • ai@^5.0.52, brace-expansion@^2.0.2, formidable@^2.1.3
  • tmp@^0.2.4, strip-ansi@^6.0.1, string-width@^4.2.3
  • wrap-ansi@^7.0.0, ansi-regex@^5.0.1

Note: Symlinks required in node_modules after yarn install:
ln -sf strip-ansi-cjs strip-ansi
ln -sf string-width-cjs string-width
ln -sf wrap-ansi-cjs wrap-ansi

Verified: Build and lint successful, no breaking changes

Security Audit Results:
- Before: 5 critical, 14 high, 56 moderate, 30 low
- After: 0 vulnerabilities

Changes:
- Added yup@^0.32.9 to dependencies (explicit declaration)
- Added strip-ansi@^6.0.1 to devDependencies (build compatibility)
- Updated @strapi/strapi@^5.24.1 in devDependencies
- Added 18 yarn resolutions for vulnerable packages
- Added .nvmrc with Node 20.18.0

Key Resolutions:
- form-data@^4.0.4, koa@^2.15.4, axios@^1.12.0
- glob@^10.5.0, tar-fs@^2.1.4, esbuild@^0.25.0
- js-yaml@^4.1.1, undici@^6.21.2, vite@^5.4.12
- ai@^5.0.52, brace-expansion@^2.0.2, formidable@^2.1.3
- tmp@^0.2.4, strip-ansi@^6.0.1, string-width@^4.2.3
- wrap-ansi@^7.0.0, ansi-regex@^5.0.1

Note: Symlinks required in node_modules after yarn install:
  ln -sf strip-ansi-cjs strip-ansi
  ln -sf string-width-cjs string-width
  ln -sf wrap-ansi-cjs wrap-ansi

Verified: Build and lint successful, no breaking changes
@MSACC MSACC requested a review from TMSchipper December 1, 2025 21:07
@MSACC
Copy link
Copy Markdown
Contributor Author

MSACC commented Dec 1, 2025

@TMSchipper Could you please check if all publisher functionalities still work. I am not yet familiar with this plugin and its functionalities. And no unit tests are in place yet.

MSACC and others added 2 commits February 1, 2026 16:44
Remove all yarn resolutions as these should be handled by Strapi itself.
The resolutions were targeting Strapi's runtime dependencies (koa, axios,
vite, undici, etc.) which are Strapi's responsibility to maintain.

Updated @strapi/strapi from 5.24.1 to 5.33.4 to get latest security fixes.

Remaining vulnerabilities (50 total):
- Primarily from Strapi dependencies (vite, tmp)
- DevDependencies (react-router-dom, eslint)

These should be addressed upstream by Strapi.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Update all Strapi packages to latest versions:
- @strapi/strapi: 5.33.4 → 5.34.0
- @strapi/design-system: ^2.0.0-rc.11 → ^2.1.2
- @strapi/icons: ^2.0.0-rc.11 → ^2.1.2
- @strapi/utils: ^5.2.0 → ^5.34.0

Still 50 vulnerabilities present (7 Low, 30 Moderate, 13 High).
These are primarily in Strapi's own dependencies and should be
addressed upstream.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@MSACC
Copy link
Copy Markdown
Contributor Author

MSACC commented Feb 1, 2026

Checked by @TMSchipper

@MSACC MSACC merged commit d7b050b into master Feb 1, 2026
@MSACC MSACC deleted the chore/security-updates branch February 1, 2026 15:57
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.

1 participant