> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/fr/web/xxe.md).

# Injection XXE

Injection d’entités externes XML, lecture de fichiers, SSRF via XXE, XXE aveugle, exfiltration OOB, réutilisation de DTD locale et XInclude.

Notes sur les XXE pour les laboratoires de PortSwigger Web Security Academy, axées sur les étapes de test pratiques, la validation dans Burp Suite, le comportement des payloads et le flux de travail d’exploitation.

## Flux de test

1. Identifiez la fonctionnalité vulnérable et la requête, le paramètre, l’en-tête, le cookie ou le point d’injection côté navigateur pertinent.
2. Reproduisez le comportement dans Burp Suite avec une charge utile minimale avant d’intensifier l’attaque.
3. Validez l’impact avec une preuve de concept claire, comme l’accès au compte, la divulgation de données, l’exécution de code, le SSRF ou un changement d’état.
4. Conservez inchangés les charges utiles, les URL, les jetons et les identifiants du laboratoire tout en documentant le chemin d’exploitation.

## Laboratoires

<table><thead><tr><th data-type="content-ref"></th></tr></thead><tbody><tr><td><a href="/fr/web/xxe/blind-xxe-exfiltration-via-external-dtd.md">Exfiltration XXE aveugle via DTD externe</a></td></tr><tr><td><a href="/fr/web/xxe/blind-xxe-with-out-of-band-parameter-entities.md">XXE aveugle avec entités XML paramétriques hors bande</a></td></tr><tr><td><a href="/fr/web/xxe/file-reading-with-xinclude.md">Lecture de fichier avec XInclude</a></td></tr><tr><td><a href="/fr/web/xxe/blind-xxe-data-exfiltration-via-error-messages.md">Filtrage aveugle de données XXE via des messages d’erreur</a></td></tr><tr><td><a href="/fr/web/xxe/blind-xxe-with-out-of-band-interaction.md">XXE aveugle avec interaction hors bande</a></td></tr><tr><td><a href="/fr/web/xxe/xxe-file-read-via-external-entities.md">Lecture de fichier XXE via des entités externes</a></td></tr><tr><td><a href="/fr/web/xxe/xxe-reusing-local-dtd-to-extract-data.md">Réutilisation d’une DTD locale pour extraire des données</a></td></tr><tr><td><a href="/fr/web/xxe/xxe-to-perform-ssrf-attacks.md">XXE pour réaliser des attaques SSRF</a></td></tr><tr><td><a href="/fr/web/xxe/xxe-via-malicious-image-upload.md">XXE via chargement d’image malveillante</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/fr/web/xxe.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
