Skip to content

[Aikido] Fix security issue in i18next via major version upgrade from 23.4.6 to 24.1.2 in with-crossmint#35

Merged
yosriady merged 3 commits into
mainfrom
fix/aikido-security-update-packages-50128168-2tvw
Jun 16, 2026
Merged

[Aikido] Fix security issue in i18next via major version upgrade from 23.4.6 to 24.1.2 in with-crossmint#35
yosriady merged 3 commits into
mainfrom
fix/aikido-security-update-packages-50128168-2tvw

Conversation

@aikido-autofix

@aikido-autofix aikido-autofix Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Upgrade i18next to fix code injection vulnerability in translation function that could allow arbitrary code execution through prototype pollution attacks.

⚠️ Breaking changes in this upgrade

All breaking changes by upgrading i18next from version 23.4.6 to 24.1.2 (CHANGELOG)

Version Description
24.0.0
Removed support for older environments
24.0.0
Removed old i18next JSON formats (v3 translations need conversion to v4 format)
24.0.0
Removed support for compatibility to v1 API
24.0.0
Intl API is mandatory now and will not fallback anymore
24.0.0
Renamed initImmediate to initAsync
24.0.0
Dropped support for Node.js < v14
24.0.0
Removed TypeScript v4 support (TypeScript v5 is now an optional peer dependency)
✅ 1 CVE resolved by this upgrade

This PR will resolve the following CVEs:

Issue Severity           Description
AIKIDO-2024-10543
HIGH
[i18next] Code injection vulnerability in the i18n.t function allows attackers to access JavaScript objects like constructor when requested keys don't exist, potentially enabling arbitrary code execution.

View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

@socket-security

socket-security Bot commented Jun 16, 2026

Copy link
Copy Markdown

Dependency limit exceeded — report not shown.

This pull request scan exceeded the 10,000-dependency limit applied to this scan, so the results are incomplete and may be inaccurate. To avoid reporting false positives, Socket has not posted a report.

Upgrade your plan to raise the dependency limit and get complete reports, or view the partial scan in the dashboard.

Socket is always free for open source. If this is a non-commercial open source project, contact us to request a free Team account.

claude added 2 commits June 16, 2026 02:50
Forces the patched shell-quote (>=1.8.4) for the GHSA-w7jw-789q-3m8p
critical advisory, pulled in transitively via @crossmint/client-sdk-react-ui.
Resolves the failing critical-gated pnpm audit for with-crossmint.
…ith-angular

Completes the Dependabot @angular/common 21.2.13->21.2.17 bump (PR #34),
which failed CI because it bumped @angular/common alone: @angular/core and
the other framework packages stayed on 21.2.13, leaving the high-severity
advisories unresolved and creating a peer-dependency mismatch
(@angular/common@21.2.17 requires @angular/core@21.2.17).

- Bump all @angular/* framework packages (common, compiler, core, forms,
  platform-browser, router, compiler-cli) to ^21.2.17 in lockstep. This
  clears the high advisories GHSA-rgjc-h3x7-9mwg, GHSA-39pv-4j6c-2g6v,
  GHSA-48r7-hpm6-gfxm, GHSA-p3vc-36g9-x9gr and GHSA-q6f4-qqrg-jv6x, all of
  which are only patched in >=21.2.17.
- Exempt the @angular framework packages from the 7-day minimumReleaseAge
  gate: 21.2.17 is the sole patched release and is still inside the window,
  so the gate would otherwise block the fix.
- Force ws>=8.21.0 via overrides to clear GHSA-96hv-2xvq-fx4p (memory
  exhaustion DoS) pulled in transitively through viem, the remaining high
  that kept the with-angular audit red.

@angular/build and @angular/cli stay at 21.2.11 (no 21.2.17 exists; their
^21.0.0 peer ranges accept the bumped framework). Verified: pnpm audit
--prod --audit-level=high reports no vulnerabilities, frozen-lockfile
install is consistent, and ng build succeeds.
@yosriady yosriady merged commit f0113a3 into main Jun 16, 2026
8 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.

2 participants