<head><title>XSS Test</title></head>
<h1>XSS Vulnerability Test</h1>
alert('XSS Triggered! Cookie: ' + document.cookie);
console.log('XSS executed successfully');
console.log('Cookie:', document.cookie);
<p>If you see an alert box, the XSS vulnerability is confirmed.</p>