<<< Previous question <<< Question ID#0771.md >>> Next question >>>
Witch potential security vulnerability is/ vulnerabilities are in the following code?
<?= htmlspecialchars($_GET['name']); ?>
<a href="<?= $_SERVER['PHP_SELF"] ?>reload</a>
- A) Cross-Site Scripting (XSS)
- B) Provoking an error message
- C) Cross-Site Request Forgeries (CSRF)
- D) None of the above
Answer
Answer: A, B