# XML External Entity (XXE) in Django

Advisory record · `GHSA-x64m-686f-fmm3`

- **Identifiers:** `GHSA-x64m-686f-fmm3` · `CVE-2013-1665` · `PYSEC-2026-802`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-200](https://cwe.mitre.org/data/definitions/200.html) · [CWE-611](https://cwe.mitre.org/data/definitions/611.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md) · [XML external entities (XXE)](https://agentprime.io/advisories/tag/xxe.md)
- **Published:** 17 May 2022
- **Updated:** 7 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 17 May 2022, 05:09 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `django` (PyPI): affected `>=1.3.0, <1.3.6 || >=1.4.0, <1.4.4`; fixed in `1.3.6`, `1.4.4`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.045, the 91st percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 17 May 2022. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-x64m-686f-fmm3](https://github.com/advisories/GHSA-x64m-686f-fmm3)
- [OSV: GHSA-x64m-686f-fmm3](https://osv.dev/vulnerability/GHSA-x64m-686f-fmm3)
- <https://nvd.nist.gov/vuln/detail/CVE-2013-1665>
- <https://github.com/django/django/commit/1c60d07ba23e0350351c278ad28d0bd5aa410b40>
- <https://github.com/django/django/commit/d19a27066b2247102e65412aa66917aff0091112>
- <https://bugs.launchpad.net/keystone/+bug/1100279>
- <http://blog.python.org/2013/02/announcing-defusedxml-fixes-for-xml.html>
- <http://bugs.python.org/issue17239>
- <http://lists.openstack.org/pipermail/openstack-announce/2013-February/000078.html>
- <http://rhn.redhat.com/errata/RHSA-2013-0657.html>
- <http://rhn.redhat.com/errata/RHSA-2013-0658.html>
- <http://rhn.redhat.com/errata/RHSA-2013-0670.html>
- <http://ubuntu.com/usn/usn-1757-1>
- <http://www.debian.org/security/2013/dsa-2634>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-x64m-686f-fmm3>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-x64m-686f-fmm3/>. Everything for agents: <https://agentprime.io/llms.txt>.
