XSS Prevention Test - Anchored Web App

Test 1: Basic Script Injection

This test attempts to inject a script tag that would show an alert.

Test 2: Event Handler Injection

This test attempts to inject event handlers that would execute JavaScript.

Test 3: Safe Rich Text

This test verifies that safe rich text formatting is preserved.

Test 4: Malicious Link Injection

This test attempts to inject malicious JavaScript URLs.

Test 5: Form Injection

This test attempts to inject form elements that could be used for attacks.