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

VectorAV: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

Weakness Enumeration

Related Identifiers

CVE-2024-21528
GHSA-G974-HXVM-X689

Affected Products

Node-Gettext