Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 524 Bytes

0771.md

File metadata and controls

20 lines (16 loc) · 524 Bytes

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