Vulnerabilities · 2015 · Djangoproject
CVE-2015-2241
Djangoproject Django vulnerability
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.
Affected products
Django. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Djangoproject Django runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- code.djangoproject.com/ticket/24461 · Exploit
- www.djangoproject.com/weblog/2015/mar/09/security-releases/ · Vendor Advisory
- www.mandriva.com/security/advisories?name=MDVSA-2015:109
- www.securityfocus.com/bid/73095
- nvd.nist.gov/vuln/detail/CVE-2015-2241
- github.com/django/django/commit/2654e1b93923bac55f12b4e66c5e39b16695ace5
- github.com/django/django/commit/82c9169077a066995e3b00aac551bf1c8a89d98a
- web.archive.org/web/20150523054951/http://www.mandriva.com/en/support/security/advisories/
- nvd.nist.gov/vuln/detail/CVE-2015-2241
- cve.org/CVERecord?id=CVE-2015-2241
More vulnerabilities in Djangoproject products
CVE-2026-1312CVE-2026-1287CVE-2026-1285CVE-2026-1207CVE-2025-64460CVE-2025-64459CVE-2025-64458CVE-2025-59682All 137
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.