PT-2024-18942
CVE-2024-21528
·
Published
2024-09-09
·
Updated
2024-09-10
Description by
CVSS 4.0
8.2
HighMetricsAV: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. Found an issue in the description? Have something to add? Feel free to write us 👾