{"id":"GHSA-f4jp-rw7w-ccwg","revision":"45d18bb05f0945d280792face2890bcb","records":[{"revision":"45d18bb05f0945d280792face2890bcb","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-f4jp-rw7w-ccwg","aliases":["CVE-2026-55451"],"title":"gettext-converter: Prototype pollution in js2i18next() via crafted translation keys","description":"### 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`.","state":0,"publishedAt":"2026-08-20T20:11:13+00:00","modifiedAt":"2026-08-20T20:26:04.313226+00:00","affected":[{"ecosystem":"npm","name":"gettext-converter","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.3.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/locize/gettext-converter/security/advisories/GHSA-f4jp-rw7w-ccwg","https://github.com/locize/gettext-converter/issues/15","https://github.com/locize/gettext-converter/commit/df90c3b93e51faef68891d97b626544f619c5b31","https://github.com/locize/gettext-converter","https://github.com/locize/gettext-converter/releases/tag/v1.3.3"],"sourceUrl":"https://github.com/advisories/GHSA-f4jp-rw7w-ccwg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-f4jp-rw7w-ccwg","identifiers":["GHSA-f4jp-rw7w-ccwg","CVE-2026-55451"]},"retained":false,"historicalAffected":[]}],"coverage":[]}