All reports
Low

devalue `uneval`ed code can create objects with polluted prototypes when `eval`ed

Affected versions

Affected versions
<= 5.6.2
Fixed version
5.6.3

Description

Under certain circumstances, unevaling untrusted data can produce output code that will create objects with polluted prototypes when later evaled, meaning the output data can be a different shape from the input data.

Links

Credits

  • elliott-with-the-longest-name-on-github