inject_xss_payload
Inject XSS payloads into input fields to detect reflection and identify cross-site scripting vulnerabilities in web applications.
Instructions
Inject XSS probes into a target input/textarea and check for reflection.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selector": "<selector>"
},
"name": "inject_xss_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payloads | No | Optional custom payloads | |
| selector | Yes | ||
| clear_first | No |