Attribute onclick injection
HTML attributeseverity: low
" onclick=alert("XSS") x="- Context
- Value reflected inside a quoted HTML attribute.
- What it needs
- The value sits in a double-quoted attribute you can close with ".
- Why it works
- The closing quote ends the attribute and onclick adds a handler that fires on click.