{"cve":"CVE-2016-2512","nvd":{"published":"2016-04-08T15:59:06.183","modified":"2026-06-17T00:44:11.930","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","score":7.4},"cwes":["CWE-79"],"references":["http://rhn.redhat.com/errata/RHSA-2016-0502.html","http://rhn.redhat.com/errata/RHSA-2016-0504.html","http://rhn.redhat.com/errata/RHSA-2016-0505.html","http://rhn.redhat.com/errata/RHSA-2016-0506.html","http://www.debian.org/security/2016/dsa-3544"],"products":["djangoproject:django"],"source":"nvd","synced_at":"2026-10-19T20:37:48.328043465+00:00"},"epss":{"cve":"CVE-2016-2512","score":0.04053,"percentile":0.90648,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-pw27-w7w4-9qc7","url":"https://osv.dev/vulnerability/GHSA-pw27-w7w4-9qc7","summary":"Django XSS Vulnerability","modified":"2024-09-18T16:26:00.186578Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<1.8.10"],"fixed":["1.8.10"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.9a1 <1.9.3"],"fixed":["1.9.3"]}]},{"id":"PYSEC-2016-15","url":"https://osv.dev/vulnerability/PYSEC-2016-15","summary":"","modified":"2026-06-10T17:01:00.604685674Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<1.8.10",">=1.9 <1.9.3"],"fixed":["1.8.10","1.9.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}