{"id":"GHSA-g974-hxvm-x689","summary":"node-gettext vulnerable to Prototype Pollution","details":"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.","aliases":["CVE-2024-21528"],"modified":"2024-11-18T16:27:11Z","published":"2024-09-10T06:30:48Z","database_specific":{"nvd_published_at":"2024-09-10T05:15:10Z","cwe_ids":["CWE-1321"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-09-10T15:52:56Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21528"},{"type":"PACKAGE","url":"https://github.com/alexanderwallin/node-gettext"},{"type":"WEB","url":"https://github.com/alexanderwallin/node-gettext/blob/65d9670f691c2eeca40dce129c95bcf8b613d344/lib/gettext.js#L113"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-NODEGETTEXT-6100943"}],"affected":[{"package":{"name":"node-gettext","ecosystem":"npm","purl":"pkg:npm/node-gettext"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"3.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-g974-hxvm-x689/GHSA-g974-hxvm-x689.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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"}]}