CVE-2015-2317

medium
Published 2022-05-14 ยท Modified 2024-04-29
CVSS v3
โ€”
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
4.3

Description

The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \x08javascript: URL.

Predictions

Exploit likelihood
30%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

fedora Fedora Affected 1 release
VersionStatusFixed in
22 Affected โ€”
suse SUSE Affected 1 release
VersionStatusFixed in
13.2 Affected โ€”
ubuntu Ubuntu Affected 4 releases
VersionStatusFixed in
14.10 Affected โ€”
14.04 Affected โ€”
12.04 Affected โ€”
10.04 Affected โ€”
debian Debian Mixed 6 releases
VersionStatusFixed in
trixie Fixed 1.7.7-1
sid Fixed 1.7.7-1
forky Fixed 1.7.7-1
bullseye Fixed 1.7.7-1
bookworm Fixed 1.7.7-1
7.0 Affected โ€”

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango<1.4.201.4.20
python PyPIdjango>=1.5,<1.6.111.6.11
python PyPIdjango>=1.7,<1.7.71.7.7
python PyPIdjango>=1.8a1,<1.8c11.8c1
python PyPIdjango>=1.8a0,<1.8c11.4.20

Application impact

VendorProductVersionsFixed
djangoprojectdjango{"endIncluding":"1.4.19"}
djangoprojectdjango1.5
djangoprojectdjango1.5.1
djangoprojectdjango1.5.2
djangoprojectdjango1.5.3
djangoprojectdjango1.5.4
djangoprojectdjango1.5.5
djangoprojectdjango1.5.6
djangoprojectdjango1.5.7
djangoprojectdjango1.5.8
djangoprojectdjango1.5.9
djangoprojectdjango1.5.10
djangoprojectdjango1.5.11
djangoprojectdjango1.5.12
djangoprojectdjango1.6
djangoprojectdjango1.6.1
djangoprojectdjango1.6.2
djangoprojectdjango1.6.3
djangoprojectdjango1.6.4
djangoprojectdjango1.6.5
djangoprojectdjango1.6.6
djangoprojectdjango1.6.7
djangoprojectdjango1.6.8
djangoprojectdjango1.6.9
djangoprojectdjango1.6.10
djangoprojectdjango1.7
djangoprojectdjango1.7.1
djangoprojectdjango1.7.2
djangoprojectdjango1.7.3
djangoprojectdjango1.7.4
djangoprojectdjango1.7.5
djangoprojectdjango1.7.6
djangoprojectdjango1.8.0

References

CWEs

CWE-79

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.