{"id":"CVE-2024-21528","aliases":["CVE-2024-21528","GHSA-g974-hxvm-x689"],"related":[],"kind":"vulnerability","state":"published","title":"node-gettext vulnerable to Prototype Pollution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-09-10T05:00:01.556Z","modified":"2026-06-17T07:09:41.020Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"product":"node-gettext","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"3.0.0"}],"ecosystem":"npm","package":"node-gettext","purl":"pkg:npm/node-gettext","source":"ghsa"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-NODEGETTEXT-6100943","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/alexanderwallin/node-gettext/blob/65d9670f691c2eeca40dce129c95bcf8b613d344/lib/gettext.js%23L113","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21528","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/alexanderwallin/node-gettext","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/alexanderwallin/node-gettext/blob/65d9670f691c2eeca40dce129c95bcf8b613d344/lib/gettext.js#L113","tags":["web"],"sources":["ghsa"]}],"credits":["Miguel Coimbra"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T13:39:38.874Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21528","url":"https://www.cve.org/CVERecord?id=CVE-2024-21528","licence":"CVE Terms of Use","modified":"2024-11-12T19:59:36.285Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g974-hxvm-x689","url":"https://github.com/advisories/GHSA-g974-hxvm-x689","licence":"CC-BY-4.0","modified":"2024-11-18T16:27:11.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21528","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21528","licence":"Public domain","modified":"2026-06-17T07:09:41.020Z"}],"updatedAt":"2026-11-25T22:58:45.201Z","epss":{"score":0.00567,"percentile":0.48392,"date":"2026-12-01T12:00:22.000Z"}}