{"id":"CVE-2026-55451","aliases":["CVE-2026-55451","GHSA-f4jp-rw7w-ccwg"],"related":[],"kind":"vulnerability","state":"published","title":"gettext-converter: Prototype pollution in js2i18next() via crafted translation keys","summary":"gettext-converter provides gettext resource conversion utilities for JavaScript. Prior to 1.3.3, js2i18next() in lib/js2i18next.js splits nested translation keys using options.keyseparator, whose default value consists of two number signs, and uses each segment as a dynamic object key without rejecting __proto__, constructor, or prototype. When an application converts untrusted PO or i18next translation data, a __proto__ segment resolves Object.prototype as the nested write target and Object.assign writes attacker-controlled translated properties onto the process-wide prototype. The resulting prototype pollution can cause denial of service and may enable application-dependent follow-on attacks. This issue is fixed in version 1.3.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"gettext-converter provides gettext resource conversion utilities for JavaScript. Prior to 1.3.3, js2i18next() in lib/js2i18next.js splits nested translation keys using options.keyseparator, whose default value consists of two number signs, and uses each segment as a dynamic object key without rejecting __proto__, constructor, or prototype. When an application converts untrusted PO or i18next translation data, a __proto__ segment resolves Object.prototype as the nested write target and Object.assign writes attacker-controlled translated properties onto the process-wide prototype. The resulting prototype pollution can cause denial of service and may enable application-dependent follow-on attacks. This issue is fixed in version 1.3.3.","source":"cvelist"},{"lang":"en","text":"### Impact\n\n`js2i18next()` is vulnerable to prototype pollution. When converting translations, it splits nested keys on the key separator (default `##`) and uses each segment as a dynamic object key while building the output object. A key whose segment is `__proto__` (e.g. `__proto__##gcPolluted`) causes the converter to resolve `Object.prototype` as the nested write target and assign the translated value onto it, polluting `Object.prototype` for the whole runtime.\n\nAny application that converts translation data (PO / i18next JS objects) originating from an untrusted or user-controlled source is affected. Prototype pollution can lead to denial of service and, depending on the surrounding application, may enable further attacks.\n\n### Patches\n\nFixed in `gettext-converter@1.3.3`. Key segments equal to `__proto__`, `constructor`, or `prototype` are now rejected before being used as dynamic object keys.\n\n### Workarounds\n\nUpgrade to `1.3.3`. If upgrading is not immediately possible, sanitize/validate translation keys before passing them to `js2i18next()` and reject any key whose `##`-separated segments include `__proto__`, `constructor`, or `prototype`.","format":"markdown","source":"ghsa"}],"published":"2026-08-20T20:11:13.000Z","modified":"2026-09-30T19:57:08.043Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"version":"< 1.3.3","status":"affected"}],"vendor":"locize","product":"gettext-converter","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.3"}],"ecosystem":"npm","package":"gettext-converter","purl":"pkg:npm/gettext-converter","source":"ghsa"}],"references":[{"url":"https://github.com/locize/gettext-converter/security/advisories/GHSA-f4jp-rw7w-ccwg","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/locize/gettext-converter/issues/15","tags":["exploit","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/locize/gettext-converter/commit/df90c3b93e51faef68891d97b626544f619c5b31","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/locize/gettext-converter/releases/tag/v1.3.3","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/locize/gettext-converter","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-09-14T18:53:33.771Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-55451","url":"https://www.cve.org/CVERecord?id=CVE-2026-55451","licence":"CVE Terms of Use","modified":"2026-09-14T18:53:39.960Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f4jp-rw7w-ccwg","url":"https://github.com/advisories/GHSA-f4jp-rw7w-ccwg","licence":"CC-BY-4.0","modified":"2026-08-20T20:26:04.313Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-55451","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55451","licence":"Public domain","modified":"2026-09-30T19:57:08.043Z"}],"updatedAt":"2026-11-25T22:59:38.312Z","epss":{"score":0.00414,"percentile":0.37693,"date":"2026-12-01T12:00:22.000Z"}}