Basic pattern of vulnerabilities · Question 1 of 12
Which pattern lies behind most web vulnerabilities?
1 answer is correct. Easy
Show answer
Answer
- B Data from outside is treated like code or a command
Explanation
SQL injection, XSS and template injection follow the same principle: an application trusts input and lets it act as SQL, HTML/JavaScript or template code. The defence is therefore always to keep data and code strictly apart.