---
title: "Discussion on \"Escaping an Unsandboxed Iframe\" | Hashnode"
description: "Discussion on \"Escaping an Unsandboxed Iframe\". In this post I show how a malicious redirect can be performed on a trusted website if the trusted site contains an unsandboxed iframe pointing to an untrusted site.\nConsider this scenario:\n\nA website which the victim is likely to trust allows other s..."
url: "https://hashnode.com/posts/escaping-an-unsandboxed-iframe/67cf645c85097b1276ec0f3e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Escaping an Unsandboxed Iframe](https://jamesonhacking.hashnode.dev/escaping-an-unsandboxed-iframe?utm_source=hashnode&utm_medium=feed)

In this post I show how a malicious redirect can be performed on a trusted website if the trusted site contains an unsandboxed iframe pointing to an untrusted site. Consider this scenario: A website which the victim is likely to trust allows other s...

Mar 10, 2025 · 2 min read · jamesonhacking.hashnode.dev  
Read the article

-   [#iframe](https://hashnode.com/tag/iframe)
-   [#hacking](https://hashnode.com/tag/hacking)

## Written by

[James Gallagher](https://hashnode.com/@sly0ct0p0d)

@sly0ct0p0d · Texas

  
[View profile](https://hashnode.com/@sly0ct0p0d)

James on Hacking

I grew up in the (TRS-)80's playing and creating text based adventure games on monochrome displays. My first infosec experience was booting a hacker from a dial-up BBS at around 12 years old. I forsook technology for a while and became a professional violinist, but in 2006 I decided to launch full career in computers because the money is better! I've been hacking professionally since 2015 and love riding the waves of constant change. I have done well for myself by not expecting others to teach me and just creating my own test environments from scratch. Now I have a successful role at a pentesting firm where I pentest Big 5 clients and play electric violin when I feel like it.

## Responses 1

Markdown supported · ⌘↵ to post

[James Gallagher](https://hashnode.com/@sly0ct0p0d)

[Aug 10](https://hashnode.com/posts/escaping-an-unsandboxed-iframe/67cf645c85097b1276ec0f3e/comment/6a794565a2c3028829bba9d8)

test123
