Intel

AIKIDO-2026-428313

i18next-icu is vulnerable to Prototype Pollution

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 2, 2026
July 2, 2026

65

CVE Score

Medium

Prototype Pollution

Are you affected? Scan for Free

TL;DR

i18next-icu caches compiled ICU formatters using a memoize key built from the language, namespace, and translation key, written through an internal path walker. Only the translation key segment is escaped, so a namespace or language segment named __proto__, constructor, or prototype makes the walker descend into and assign onto Object.prototype. The language segment is taken from the requested language, so when language detection or other untrusted input drives translation with memoization enabled, this pollutes the global object prototype and affects every object created afterwards in the process. The fix makes the walker refuse unsafe path segments and drop the write, and option merging now skips prototype keys.

How do I fix this?

Upgrade the i18next-icu library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application derives the active language or namespace from untrusted input with memoization enabled.

Versions

0.2.0 - 2.4.3

Fixed in 2.4.4

Background info

i18next-icu is vulnerable to Prototype Pollution in versions 0.2.0 - 2.4.3.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea