Scripts, also known as XSS vulnerabilities, are among the most common security issues. It is a code attack that targets those who provide services over the web with malicious scripts. With the code executed through your site; your sessions can be hijacked, your important data can be revealed and can cause much more dire consequences. XSS, or Scripts attacks, directly target the users of your system.
SQL Injection or SQLi is a type of cyber attack that bypasses the protections in your system. The goal of this attack method is to hijack, modify or even delete the contents of your SQL database. The cyber-bullies' action to delete your data from the database can affect the entire system's operation until the database is restored. Your backups may be useless.