Event-handler attribute injectionEMBEDDED

Check whether on* attributes such as img onerror or details ontoggle survive filtering and execute.

HTML payload check

This scenario tests how user input is rendered into HTML / DOM, not iframe sandbox behavior.

  • onerror, onclick, onload 등 on* 속성이 제거되는지 확인
  • 태그 allowlist 는 있어도 속성 allowlist 가 느슨하지 않은지 확인
  • CSP 가 inline event handler 를 차단하는지 확인

페이로드

복사할 payload

이미지 로드 실패 이벤트를 이용하는 대표적인 HTML attribute XSS.

미리보기

미리보기는 학습용으로 의도적으로 unsafe 렌더링을 수행합니다. 실제 서비스에서는 이 payload 가 텍스트로 이스케이프되거나 제거되어야 합니다.

로그

// 로그 없음

해설