Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.
Resumen
CVE-2026-63402: vulnerabilidad de severidad media (CVSS 5.9) en i18next.
Qué ocurre
Descripción original de la fuente (en inglés): ### Summary `deepExtend` in `src/utils.js` (reached via the public `addResourceBundle(lng, ns, data, deep, overwrite)` API) checked key existence with the `in` operator, which walks the prototype chain. A source key matching an inherited built-in (e.g. `hasOwnProperty`, `toString`, `valueOf`) therefore caused the function to recurse into the shared object on `Object.prototype`. With `overwrite: true`, a nested value could overwrite a property of that shared built-in — for example setting `Object.prototype.hasOwnProperty.call` to a non-callable value — corrupting it process-wide and causing an unrecoverable denial of service. This is distinct from CVE-2026-48713 (i18next-fs-backend) and CVE-2026-48714 (i18next-http-middleware), which are prototype pollution via `setPath`/key-walking in different packages. This issue is in i18next core, via a different mechanism (the `in` operator in `deepExtend`), and is gated behind a non-default call configuration. ### Details `src/utils.js` (≤ 26.3.3): ```js export const deepExtend = (target, source, overwrite) => { for (const prop in source) { if (prop !== '__proto__' && prop !== 'constructor') { if (prop in target) { // <-- walks the prototype chain if (isString(target[prop]) || target[prop] instanceof String || isString(source[prop]) || source[prop] instanceof String) { if (overwrite) target[prop] = source[prop]; } else { deepExtend(target[prop], source[prop], overwrite); } } else { target[prop] = source[prop]; } } } return target; }; ``` For `source = { hasOwnProperty: { call: "corrupted" } }` and `target = {}`: `"hasOwnProperty" in target` is `true` (inherited from `Object.prototype`), so the code recurses with `target = Object…
Por qué importa
Severidad media, CVSS 5.9.
Productos y versiones afectados
i18next < 26.3.4 (corregido en 26.3.4)
| Producto | Versiones | Corregido en |
|---|---|---|
| i18next | < 26.3.4 | 26.3.4 |
Acción recomendada por la fuente
Actualizar a una versión corregida: 26.3.4.
Corregido en: 26.3.4
Fuentes y referencias
- https://github.com/advisories/GHSA-6jcc-5g8w-32mx — GHSA
- https://github.com/i18next/i18next/security/advisories/GHSA-6jcc-5g8w-32mx — GHSA
- https://nvd.nist.gov/vuln/detail/CVE-2026-63402 — GHSA
- https://github.com/i18next/i18next/commit/642137b7786d83661ec3ee53027798dc4b81d30a — GHSA
- https://github.com/i18next/i18next/releases/tag/v26.3.4 — GHSA
- https://github.com/i18next/i18next — OSV
Debilidades (CWE): CWE-471, CWE-1321
Historial de cambios relevantes
Publicado
Aviso preliminar publicado.