Prototype Pollution Lab

Navigate to[custom]=polluted

and check if the custom property is set

You can use console.log({}.custom); for this Or you can simply enter custom in the dev tools

You can see that sometimes we may not directly achieve some attacks like XSS but the prototype is still polluted.

The code snippet used in this lab is below.

<script src=""></script>

Writeup & Vulnerable Code Snippet