Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/y18n@3.2.1
purl pkg:npm/y18n@3.2.1
Next non-vulnerable version 3.2.2
Latest non-vulnerable version 5.0.5
Risk 4.0
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-fu8u-pxaa-43be
Aliases:
CVE-2020-7774
GHSA-c4w7-xm78-47vh
Prototype Pollution in y18n ### Overview The npm package `y18n` before versions 3.2.2, 4.0.1, and 5.0.5 is vulnerable to Prototype Pollution. ### POC ```js const y18n = require('y18n')(); y18n.setLocale('__proto__'); y18n.updateLocale({polluted: true}); console.log(polluted); // true ``` ### Recommendation Upgrade to version 3.2.2, 4.0.1, 5.0.5 or later.
3.2.2
Affected by 0 other vulnerabilities.
4.0.1
Affected by 0 other vulnerabilities.
5.0.5
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-11T22:26:10.411394+00:00 GitLab Importer Affected by VCID-fu8u-pxaa-43be https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/y18n/CVE-2020-7774.yml 38.3.0
2026-04-02T22:37:55.936392+00:00 GitLab Importer Affected by VCID-fu8u-pxaa-43be https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/y18n/CVE-2020-7774.yml 38.1.0
2026-04-01T16:55:18.648365+00:00 GitLab Importer Affected by VCID-fu8u-pxaa-43be https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/y18n/CVE-2020-7774.yml 38.0.0