CVE-2024-21528
JSON

5.9medium

node-gettext vulnerable to Prototype Pollution

Severity
5.9medium CVSS:3.1 by snyk
Exploit likelihood
0.57% (higher than 48% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-g974-hxvm-x689

Description

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.

Affected

Product or packageVersionsReported by
node-gettextbefore *CVE List
node-gettext (npm)up to 3.0.0GitHub Advisory Database

All scores

snyk5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
GitHub5.9high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Classification

CWE-1321

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Todas las versiones del paquete node-gettext son vulnerables a la contaminación de prototipos a través de la función addTranslations() en gettext.js debido a una desinfección inadecuada de la entrada del usuario.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-21528 changed 2024-11-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-g974-hxvm-x689 changed 2024-11-18CC-BY-4.0
NVDCVE-2024-21528 changed 2026-06-17Public domain