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

# Exploiting XXE to retrieve data by repurposing a local DTD

> PortSwigger Web Security Academy lab: Exploiting XXE to retrieve data by repurposing a local DTD. Tema: XXE (XML External Entity).

# Exploiting XXE to retrieve data by repurposing a local DTD

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> PortSwigger · XXE (XML External Entity)</p>

<div className="machine-meta">
  | ·           | ·                                                                                                              |
  | ----------- | -------------------------------------------------------------------------------------------------------------- |
  | Plataforma  | PortSwigger Web Security Academy                                                                               |
  | Tema        | XXE (XML External Entity)                                                                                      |
  | Dificultad  | <span className="dbadge dbadge-easy">APPRENTICE</span>                                                         |
  | Lab oficial | [Abrir](https://portswigger.net/web-security/xxe/blind/lab-xxe-trigger-error-message-by-repurposing-local-dtd) |
</div>

## Resolver el lab

| Idioma  | Autor           | Formato | Enlace                                                                                                         |
| ------- | --------------- | ------- | -------------------------------------------------------------------------------------------------------------- |
| 🇬🇧 EN | **PortSwigger** | Texto   | [Abrir](https://portswigger.net/web-security/xxe/blind/lab-xxe-trigger-error-message-by-repurposing-local-dtd) |

## Recursos por skill

| Skill               | Fuente     | Enlace                                                                                   |
| ------------------- | ---------- | ---------------------------------------------------------------------------------------- |
| XML External Entity | HackTricks | [Abrir](https://book.hacktricks.wiki/en/pentesting-web/xxe-xee-xml-external-entity.html) |

## Skills relacionadas

[XML External Entity](/skills/xxe)

***

## Comentarios y truquillos

¿Has resuelto el lab por una vía distinta? Compártela aquí — los comentarios viven en [GitHub Discussions](https://github.com/FFuson/HTB_Writeups/discussions).

<div className="rootea-giscus-wrap" data-giscus-term="lab:xxe-blind-xxe-trigger-error-message-by-repurposing-local-dtd" data-giscus-lang="es" />

*Última actualización: 2026-05-08*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","name":"Exploiting XXE to retrieve data by repurposing a local DTD","headline":"Exploiting XXE to retrieve data by repurposing a local DTD — PortSwigger lab index","url":"https://rootea.es/portswigger/labs/xxe/blind-xxe-trigger-error-message-by-repurposing-local-dtd","inLanguage":"es","about":[{"@type":"Thing","name":"PortSwigger Web Security Academy"},{"@type":"Thing","name":"XXE (XML External Entity)"}],"isPartOf":{"@type":"WebSite","name":"rootea.es","url":"https://rootea.es"},"author":{"@type":"Organization","name":"rootea.es"}}`}
</script>
