CVE-2015-2241
MEDIUM 4.3CVSS 2.0Django Cross-site Scripting 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.
- Published
- 12 Mar 2015
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-6565-fg86-6jcxPYSEC-2015-8
- Sources
- NVDJSONOSV GHSA-6565-fg86-6jcxJSONOSV PYSEC-2015-8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
<= 1.7.5 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.8:beta1:*:*:*:*:*:* |
= 1.8 | |
| OSV | PyPI | django | < 1.7.6 | 1.7.6 |
| OSV | PyPI | django | >= 1.8a1, < 1.8b2 | 1.8b2 |
| OSV | PyPI | django | < 1.7.6; >= 1.8a1, < 1.8b2 | 1.7.6, 1.8b2 |
References
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:109 · WEB, ADVISORY
- http://www.securityfocus.com/bid/73095 · WEB
- https://code.djangoproject.com/ticket/24461 · Exploit, Vendor Advisory, WEB
- https://www.djangoproject.com/weblog/2015/mar/09/security-releases/ · Vendor Advisory, WEB, ARTICLE
- https://nvd.nist.gov/vuln/detail/CVE-2015-2241 · ADVISORY
- https://github.com/django/django/commit/2654e1b93923bac55f12b4e66c5e39b16695ace5 · WEB
- https://github.com/django/django/commit/82c9169077a066995e3b00aac551bf1c8a89d98a · WEB
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-8.yaml · WEB
- https://web.archive.org/web/20150523054951/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:109/?name=MDVSA-2015:109 · WEB
- https://web.archive.org/web/20171112005349/http://www.securityfocus.com/bid/73095 · WEB
- https://github.com/advisories/GHSA-6565-fg86-6jcx · ADVISORY
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 12 Mar 2015)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Mar 2015)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 May 2022)