CVE-2015-2241

medium
Published 2022-05-17 · Modified 2023-11-08
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v2
4.3
VIR risk
4.3

Description

Cross-site scripting (XSS) vulnerability in the contents function in admin/helpers.py in Django before 1.7.6 and 1.8 before 1.8b2 allows remote attackers to inject arbitrary web script or HTML via a model attribute in ModelAdmin.readonly_fields, as demonstrated by a @property.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2015-2241

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://www.djangoproject.com/weblog/2015/mar/09/security-releases/

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://code.djangoproject.com/ticket/24461

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed1.7.6-1
debian debianbullseyefixed1.7.6-1
debian debianforkyfixed1.7.6-1
debian debiansidfixed1.7.6-1
debian debiantrixiefixed1.7.6-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango<1.7.61.7.6
python PyPIdjango>=1.8a1,<1.8b21.8b2

Application impact

VendorProductVersionsFixed
djangoprojectdjango{"endIncluding":"1.7.5"}
djangoprojectdjango1.8

References

CWEs

CWE-79

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