Reflected cross-site scripting occurs due to missing input validation on a specific page, which allows arbitrary JavaScript to execute within authenticated sessions. A remote attacker can trick a logged-in user into opening a specially crafted URL to execute the injected script and take over the account.