Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.1
CVE-2019-3498: Django 404 Error Pages Can Show Malicious Content
CVE-2019-3498 · published 7 years ago
Summary
A vulnerability in Django's 404 error pages allows attackers to display malicious content to users who visit a specially crafted URL. This could lead to users being tricked into thinking a website is legitimate. Update to a fixed version of Django to prevent this issue.
What to do
- Update django software foundation django to version 1.11.18.
- Update django software foundation django to version 2.0.10.
- Update django software foundation django to version 2.1.5.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| pip | django software foundation | django |
>= 1.11a1, < 1.11.18 >= 2.0a1, < 2.0.10 >= 2.1a1, < 2.1.5 Fix: upgrade to 1.11.18
|
| – | djangoproject | django |
>= 1.11, < 1.11.18 >= 2.0, < 2.0.10 >= 2.1, < 2.1.5 cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
| – | debian | debian_linux |
8.0 9.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
| – | canonical | ubuntu_linux |
14.04 16.04 18.04 18.10 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
| – | fedoraproject | fedora |
28 cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:* |
Original advisory text
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.de...
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.
References
- http://www.securityfocus.com/bid/106453 Third Party Advisory VDB Entry
- https://docs.djangoproject.com/en/dev/releases/security/ Patch Vendor Advisory
- https://groups.google.com/forum/#%21topic/django-announce/VYU7xQQTEPQ
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro...
- https://usn.ubuntu.com/3851-1/ Third Party Advisory
- https://www.djangoproject.com/weblog/2019/jan/04/security-releases/ Patch Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-3498
- https://github.com/advisories/GHSA-337x-4q8g-prc5
- https://groups.google.com/forum/#!topic/django-announce/VYU7xQQTEPQ
- https://lists.debian.org/debian-lts-announce/2019/01/msg00005.html
- https://www.debian.org/security/2019/dsa-4363
- https://web.archive.org/web/20200227094237/http://www.securityfocus.com/bid/1064...
- https://docs.djangoproject.com/en/dev/releases/security
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-17.y...
- https://lists.fedoraproject.org/archives/list/[email protected]...
- https://usn.ubuntu.com/3851-1
- https://www.djangoproject.com/weblog/2019/jan/04/security-releases
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker partial control (estimated)
Type
CWE-20Improper Input Validation
CWE-74Injection
Timeline
Published9 Jan 2019
Updated23 Oct 2026
First seen6 Mar 2026
Track software like this
Free during beta