CVE-2019-3498
Improper Input Validation in Django
Reported by mitre · Published January 9, 2019
django is fixed in 2.1.5, 2.0.10 and 1.11.18 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| django | PyPI | 2.1.5, 2.0.10, 1.11.18 |
| python-django | Arch Linux | 2.1.5-1 |
| py-django | Alpine | 1.11.18-r0 |
| python-django | Ubuntu:16.04:LTS | 1.8.7-1ubuntu5.7 |
| django | djangoproject | 2.1.5, 2.0.10, 1.11.18 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| arch | python-django | 0 |
| djangoproject | django | |
| alpine | py-django | 0 |
| n/a | n/a | * |
| alpine | py3-django | 0 |
| PyPI | Django | 1.11a1, 2.0a1, 2.1a1 |
Timeline
- Jan 7, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (3 in total, the first dated here)
- Sep 10, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-3498
vulnetix vdb fixes CVE-2019-3498
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-3498/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- USN-3851-1 vendor-advisoryx_refsource_UBUNTU
- 106453 vdb-entryx_refsource_BID
- [debian-lts-announce] 20190106 [SECURITY] [DLA 1629-1] python-django security update mailing-listx_refsource_MLIST
- x_refsource_MISC
- DSA-4363 vendor-advisoryx_refsource_DEBIAN
- FEDORA-2019-5ad2149e99 vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2019-3498 advisory
- https://github.com/advisories/GHSA-337x-4q8g-prc5 advisory
- https://docs.djangoproject.com/en/dev/releases/security url
- https://github.com/django/django url
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-17.yaml advisory
- https://groups.google.com/forum/#!topic/django-announce/VYU7xQQTEPQ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HVXDOVCXLD74SHR2BENGCE2OOYYYWJHZ url
- https://usn.ubuntu.com/3851-1 url
- https://web.archive.org/web/20200227094237/http://www.securityfocus.com/bid/106453 url
- https://www.djangoproject.com/weblog/2019/jan/04/security-releases url