While testing a website i noticed that the value of parameter
var valueUser = "my-controlled-value";
Here's what i tried.
Tried to use this payload
test"; alert(1);//but it's not working
Also the only block is that when you insert " it will be converted to \" all the other symbols are not escaped
What payload can i use to make it work and trigger the alert box?