navigator.sendBeacon / fetch による exfiltrationEMBEDDED

iframe 自身の origin 内で収集した情報や referrer を sendBeacon / fetch で外部送信できるか確認します。

sandbox ポリシー別の挙動
ポリシー想定結果
sandbox 未指定動作
sandbox="allow-scripts"動作
sandbox="" (最も厳格)ブロック
Embed スニペット

このスニペットは埋め込み専用ページを使用します。自サービスに貼り付けてレンダリング/ブロックの挙動を確認してください。

<iframe src="https://xss-playground.com/embed/beacon-exfil?lang=ja" title="XSS Playground - navigator.sendBeacon / fetch による exfiltration" width="600" height="420" loading="lazy" referrerpolicy="strict-origin-when-cross-origin"></iframe>

実行

document.referrer
-
navigator.userAgent
-
// ログなし

解説