Web Security · Client-side
Event handler
Also known as: DOM event handler
Code invoked by an event such as a click, focus, or load. An HTML attribute such as onerror contains executable code. The word onerror in ordinary text does not create a handler. The event must also occur for execution.
Where you practice it
- Context Is the PayloadWeb Security · Cross-Site ScriptingPractice this lesson →
- Filter & Sanitizer EvasionWeb Security · Cross-Site ScriptingPractice this lesson →
- Blind XSSWeb Security · Cross-Site ScriptingPractice this lesson →
- Framework PitfallsWeb Security · Cross-Site ScriptingPractice this lesson →
- JavaScript in the BrowserWeb Security · Web FoundationsPractice this lesson →