CVE-2024-21528
MEDIUM 5.9CVSS 3.1node-gettext vulnerable to Prototype Pollution
All versions of the package node-gettext are vulnerable to Prototype Pollution via the addTranslations() function in gettext.js due to improper user input sanitization.
- Published
- 10 Sep 2024
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Deferred
- Weakness
- CWE-1321
- Also known as
- GHSA-g974-hxvm-x689
- Sources
- NVDJSONOSV GHSA-g974-hxvm-x689JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | node-gettext | <= 3.0.0 |
References
- https://github.com/alexanderwallin/node-gettext/blob/65d9670f691c2eeca40dce129c95bcf8b613d344/lib/gettext.js%23L113
- https://security.snyk.io/vuln/SNYK-JS-NODEGETTEXT-6100943 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21528 · ADVISORY
- https://github.com/alexanderwallin/node-gettext · PACKAGE
- https://github.com/alexanderwallin/node-gettext/blob/65d9670f691c2eeca40dce129c95bcf8b613d344/lib/gettext.js#L113 · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 10 Sep 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Sep 2024)