VDB
CVE-2016-2512
CVE-2016-2512
PUBLISHED
CVSS 7.400000095367432 HIGH
Django XSS Vulnerability
Reported by mitre · Published April 8, 2016
The utils.http.is_safe_url function in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks or possibly conduct cross-site scripting (XSS) attacks via a URL containing basic authentication, as demonstrated by http://mysite.example.com\@attacker.com.
Risk scores
CVSS 3.0
7.400000095367432
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| PyPI | Django | 0, 1.9a1 |
Timeline
- Mar 1, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 5, 2026 Security Advisory (3 in total, the first dated here)
- Oct 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-2512
vulnetix vdb fixes CVE-2016-2512
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-2016-2512/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2016:0506 vendor-advisoryx_refsource_REDHAT
- 1035152 vdb-entryx_refsource_SECTRACK
- 83879 vdb-entryx_refsource_BID
- RHSA-2016:0504 vendor-advisoryx_refsource_REDHAT
- DSA-3544 vendor-advisoryx_refsource_DEBIAN
- RHSA-2016:0502 vendor-advisoryx_refsource_REDHAT
- USN-2915-3 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- USN-2915-2 vendor-advisoryx_refsource_UBUNTU
- RHSA-2016:0505 vendor-advisoryx_refsource_REDHAT
- USN-2915-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2016-2512 advisory
- https://github.com/advisories/GHSA-pw27-w7w4-9qc7 advisory
- https://github.com/django/django/commit/382ab137312961ad62feb8109d70a5a581fe8350 patch
- https://github.com/django/django/commit/fc6d147a63f89795dbcdecb0559256470fff4380 patch
- https://github.com/django/django url
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-15.yaml advisory
- https://web.archive.org/web/20210123090815/http://www.securityfocus.com/bid/83879 url
…and 2 more