> ## Documentation Index
> Fetch the complete documentation index at: https://rootea.es/llms.txt
> Use this file to discover all available pages before exploring further.

# DOM-based open redirection

> PortSwigger Web Security Academy lab: DOM-based open redirection. Topic: DOM-based Vulnerabilities.

# DOM-based open redirection

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> PortSwigger · DOM-based Vulnerabilities</p>

<div className="machine-meta">
  | ·            | ·                                                                                                |
  | ------------ | ------------------------------------------------------------------------------------------------ |
  | Platform     | PortSwigger Web Security Academy                                                                 |
  | Topic        | DOM-based Vulnerabilities                                                                        |
  | Difficulty   | <span className="dbadge dbadge-medium">PRACTITIONER</span>                                       |
  | Official lab | [Open](https://portswigger.net/web-security/dom-based/open-redirection/lab-dom-open-redirection) |
</div>

## Solve the lab

| Language | Author          | Format | Link                                                                                             |
| -------- | --------------- | ------ | ------------------------------------------------------------------------------------------------ |
| 🇬🇧 EN  | **PortSwigger** | Texto  | [Open](https://portswigger.net/web-security/dom-based/open-redirection/lab-dom-open-redirection) |

***

## Comments & tips

Solved this lab a different way? Share it here — comments live in [GitHub Discussions](https://github.com/FFuson/HTB_Writeups/discussions).

<div className="rootea-giscus-wrap" data-giscus-term="lab:dom-based-open-redirection-dom-open-redirection" data-giscus-lang="en" />

*Last updated: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","name":"DOM-based open redirection","headline":"DOM-based open redirection — PortSwigger lab index","url":"https://rootea.es/en/portswigger/labs/dom-based/open-redirection-dom-open-redirection","inLanguage":"en","about":[{"@type":"Thing","name":"PortSwigger Web Security Academy"},{"@type":"Thing","name":"DOM-based Vulnerabilities"}],"isPartOf":{"@type":"WebSite","name":"rootea.es","url":"https://rootea.es"},"author":{"@type":"Organization","name":"rootea.es"}}`}
</script>
