gettext-converter: Prototype pollution in js2i18next() via crafted translation keys
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| locize | gettext-converter | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Locize | Gettext-converter |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-f4jp-rw7w-ccwg | gettext-converter: Prototype pollution in js2i18next() via crafted translation keys |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.566% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Locize
Locize gettext-converter |
|
| Vendors & Products |
Locize
Locize gettext-converter |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-915 | |
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | gettext-converter: Prototype pollution in js2i18next() via crafted translation keys | |
| Weaknesses | CWE-1321 | |
| References |
| |
| Metrics |
cvssV4_0
|