QSearchQSearch

CVE-2026-48714

9.1 CRITICAL

i18next-http-middleware is a middleware to be used with Node.js web frameworks like express or Fastify and also for Deno

Published: 2026-06-15 · Last updated: 2026-06-15

Severity and scoring

CVSS
9.1 CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CWE
CWE-1321

Description

i18next-http-middleware is a middleware to be used with Node.js web frameworks like express or Fastify and also for Deno. In versions prior to 3.9.7, the missingKeyHandler blocked the literal request-body keys __proto__, constructor, and prototype (added in 3.9.3, see GHSA-5fgg-jcpf-8jjw), but did not reject dotted variants such as "__proto__.polluted". Downstream backends that split the missing-key string on a configured keySeparator (notably i18next-fs-backend ≤ 2.6.5) hand these keys to an unguarded setPath() walker that writes to Object.prototype. Applications that expose missingKeyHandler to untrusted input AND use i18next-fs-backend ≤ 2.6.5 are directly exploitable for remote prototype pollution. Other downstream backends that split the missing-key string the same way may be similarly affected. Depending on the host application, polluted prototype properties may cause crashes, corrupted translation behaviour, configuration poisoning, or bypasses of property-based security checks. This issue has been fixed in version 3.9.7. If developers cannot upgrade immediately, they should do the following: do not expose missingKeyHandler to untrusted users (mount it behind authentication, or remove the route), add a request-body filter ahead of the handler that rejects any top-level key containing __proto__, constructor, or prototype after splitting on their configured keySeparator, and disable missing-key persistence (saveMissing: false) when accepting writes from untrusted input.

Source: NVD

References

Related CVEs

Same CWE

  • CVE-2026-48713 Versions prior to 2.6.6 are vulnerable to prototype pollution via crafted missing-key strings when used to persist missing translation ke... (9.1 CRITICAL)
  • CVE-2026-12209 A security vulnerability has been detected in RubyLouvre avalon up to 2.2.10 (5.3 MEDIUM)
  • CVE-2026-12208 A weakness has been identified in jsonata-js jsonata up to 2.2.0 (5.3 MEDIUM)
  • CVE-2026-53609 ApostropheCMS is an open-source Node.js content management system (9.1 CRITICAL)
  • CVE-2026-44495 Axios is a promise based HTTP client for the browser and Node.js (7.0 HIGH)