A penetration tester inputs the string `<script>alert('XSS')</script>` into a search field on a web application. The subsequent results page immediately executes the script, and an alert box appears. The script is not stored on the server in any permanent way. What type of Cross-Site Scripting (XSS) vulnerability has been identified?
-
A
Stored XSS
-
B
Reflected XSS
-
C
DOM-based XSS
-
D
Server-Side XSS