Synapse Open Synapse
Security

I found yet another way to invoke JavaScript functions without parentheses

Reddit · r/netsec · · 2 min read

It turns out you can overwrite the Error.prepareStackTrace method with the function constructor. Then, using prototype pollution, you can inject valid JavaScript code to generate arbitrary functions and invoke it using the usual tricks.

Latest from Reddit · r/netsec