CVE-2024-21528
Medium 5.9 No auth needed
Follow: this CVE We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 59
- Auth required
- No
- Published
- Sep 10, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Check whether you run any of the affected products and follow the vendor advisory.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | node-gettext |
≤ 3.0.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-g974-hxvm-x689). Check the version in your lockfile before upgrading.
Official sources
References
Links published by the sources. Open them with care.