Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/y18n@5.0.2
purl pkg:npm/y18n@5.0.2
Next non-vulnerable version 5.0.5
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.
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.427270+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.949510+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.664904+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