PT-2024-18942 · Unknown · Node-Gettext
Miguel Coimbra
·
Published
2024-09-09
·
Updated
2024-09-10
·
CVE-2024-21528
CVSS v4.0
8.2
High
| Vector | AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
node-gettext versions all
Description
The issue is related to Prototype Pollution via the
addTranslations() function in gettext.js due to improper user input sanitization. This affects the node-gettext package.Recommendations
For all versions, consider disabling the
addTranslations() function until a patch is available to prevent exploitation. Restrict access to the gettext.js module to minimize the risk of exploitation. Avoid using unsanitized user input in the addTranslations() function until the issue is resolved.Fix
Prototype Pollution
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Node-Gettext