Advisory

GHSA-pw27-w7w4-9qc7

Also known as: CVE-2016-2512, PYSEC-2016-15

Summary

Django XSS Vulnerability

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 01:09 UTC
Modified
2024-09-18 16:26 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.8.10 (ecosystem)

Fixed versions

1.8.10

Fix

  • Fixed version 1.8.10
    pip install --upgrade django==1.8.10

django

PyPI · All systems

Affected

  • introduced 1.9a1, fixed 1.9.3 (ecosystem)

Fixed versions

1.9.3

Fix

  • Fixed version 1.9.3
    pip install --upgrade django==1.9.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences