알림 권한 요청 / 푸시 hijackEMBEDDED

Notification.requestPermission 으로 권한 프롬프트. 허용되면 attacker 도메인이 푸시 발송 가능.

sandbox 정책별 동작
정책예상 결과
sandbox 미부착동작함
sandbox="allow-scripts"동작함
sandbox="" (가장 엄격)차단됨
임베드 스니펫

이 코드는 임베드 전용 페이지를 사용합니다. 본인 서비스에 그대로 붙여 넣고 렌더링/차단 여부를 확인하세요.

<iframe src="https://xss-playground.com/embed/notification-permission?lang=ko" title="XSS Playground - 알림 권한 요청 / 푸시 hijack" width="600" height="420" loading="lazy" referrerpolicy="strict-origin-when-cross-origin"></iframe>

실행

// 로그 없음

해설