Feed
7.4HIGH
CVE-2016-2512Django XSS Vulnerability
A high-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 4.0% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 4.0%
- percentile 91%
- Fix
- Named by a source
- CVE published 8 Apr 2016
Reference
None of the "Needs attention" rules apply right now.
EPSS 4.0% (+4) · Network attack vector (+10) · No privileges required (+5) · CVSS 7.4: at least medium
Immediate actions
- django (PyPI): upgrade to 1.8.10 / 1.9.3 or later on your release line.
- Patch: https://github.com/django/django/commit/c5544d289233f501917e25970c03ed444abbd4f0
- Commit / pull request: https://github.com/django/django/commit/382ab137312961ad62feb8109d70a5a581fe8350
- Commit / pull request: https://github.com/django/django/commit/fc6d147a63f89795dbcdecb0559256470fff4380
Who should check
django (PyPI) pkg:pypi/django
- Affected< 1.8.10Fixed in1.8.10OSV (PYSEC-2016-15)
- Affected>= 1.9a1, < 1.9.3Fixed in1.9.3OSV (GHSA-pw27-w7w4-9qc7)
- Affected>= 1.9, < 1.9.3Fixed in1.9.3OSV (PYSEC-2016-15)
Confirmed facts
- CVSS
- 7.4 HIGH (version 3.0)
- Score from
- GitHub Advisory Database (GHSA-pw27-w7w4-9qc7)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- required
- Weakness
- CWE-79
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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`.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2016-2512
- commit / pull requesthttps://github.com/django/django/commit/382ab137312961ad62feb8109d70a5a581fe8350
- patchhttps://github.com/django/django/commit/c5544d289233f501917e25970c03ed444abbd4f0
- commit / pull requesthttps://github.com/django/django/commit/fc6d147a63f89795dbcdecb0559256470fff4380
- otherhttps://github.com/django/django
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-15.yaml
- otherhttps://web.archive.org/web/20210123090815/http://www.securityfocus.com/bid/83879
- otherhttps://web.archive.org/web/20210413200202/http://www.securitytracker.com/id/1035152
- otherhttps://www.djangoproject.com/weblog/2016/mar/01/security-releases
- advisoryhttp://rhn.redhat.com/errata/RHSA-2016-0502.html
- advisoryhttp://rhn.redhat.com/errata/RHSA-2016-0504.html
- advisoryhttp://rhn.redhat.com/errata/RHSA-2016-0505.html
- advisoryhttp://rhn.redhat.com/errata/RHSA-2016-0506.html
- advisoryhttp://www.debian.org/security/2016/dsa-3544
- otherhttp://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- advisoryhttp://www.ubuntu.com/usn/USN-2915-1
- advisoryhttp://www.ubuntu.com/usn/USN-2915-2
- advisoryhttp://www.ubuntu.com/usn/USN-2915-3
- otherhttps://www.djangoproject.com/weblog/2016/mar/01/security-releases/
- otherhttp://www.securityfocus.com/bid/83879
- otherhttp://www.securitytracker.com/id/1035152
- advisoryhttps://github.com/advisories/GHSA-pw27-w7w4-9qc7
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-pw27-w7w4-9qc7 (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2016-15 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 17 min ago · osv 17 min ago · nvd 17 min ago · epss 16 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-pw27-w7w4-9qc7, PYSEC-2016-15