r/netsec 🔐 Cybersecurity 👁 0

I found yet another way to invoke JavaScript functions without parentheses

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 t

📄

This source provides headlines only. Use the button below to read the complete article on the original site.

📰 Read the original article on r/netsec

Originally published by r/netsec. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.