Question: A web application has a user comments page. Visitors of the web application can anonymously post comments through a form in the user comments page.
A web application has a user comments page. Visitors of the web application can anonymously post comments through a form in the user comments page. The comments are then stored in a database. Every time a user visits the page, all the previously posted comments are retrieved from the database and displayed to the user.
Based on this description, identify two threats that are likely to occur.
Input sanitization
SQL Injection
Reflected XSS
Stored XSS
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
