Topic
Everything filed under Web Security, newest first.
RSS · JSON · All topics
yet another way to invoke functions without parentheses
A short JavaScript security write-up showing a new way to invoke arbitrary functions without parentheses: overwrite Error.prepareStackTrace with the Function constructor, control the generated code through prototype properties, then trigger it with a valueOf coercion, producing a parenthesis-free alert payload.
2 min · 361 words