Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/y18n@4.0.0
purl pkg:npm/y18n@4.0.0
Next non-vulnerable version 4.0.1
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.
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-16T21:14:05.549209+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.4.0
2026-04-11T22:26:10.415344+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.939559+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-02T16:56:19.623760+00:00 GHSA Importer Affected by VCID-fu8u-pxaa-43be https://github.com/advisories/GHSA-c4w7-xm78-47vh 38.1.0
2026-04-01T16:55:18.651646+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
2026-04-01T13:01:56.311570+00:00 GithubOSV Importer Affected by VCID-fu8u-pxaa-43be https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-c4w7-xm78-47vh/GHSA-c4w7-xm78-47vh.json 38.0.0