Answer the question
In order to leave comments, you need to log in
How to check the form for submitting messages from a site on XSS injection?
I have a form for sending messages from the site to my email.
Any user can write a message and send it.
The form is being submitted via php
<form enctype="multipart/form-data" method="post" id="form" action="send.php">
<script>alert('aa');</script>
or <script>alert(document.cookie)</script>
it will stupidly send this whole thing to me by mail (although the fields will be empty in the incoming message). Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question