Scripts between sites (XSS) : For cross-site scripting, you can insert a nay script in the input field, if it is not verified correctly, it will be accepted by you on the server side and will be entered into the database. Then, when this data is printed on the page. This script will be printed or executed on the page directly. Inserting an external script into the page is the basic idea of ββcross-site scripting.
Here is an example
{"myJSON": "legit", "anyParameter": "12345<script>alert(1)</script>"}
SQL Injection: Basically there are two attempts at SQL injection: 1.Basic SQL injection and 2.Advanced SQL injection. So in your case, you, I think, you need to test SQL injection. You will receive step-by-step information about this on the Internet.
Cyberabbay
source share