CVE-2015-2241 json
Django Cross-site Scripting Vulnerability
published 11y ago modified 4mo ago also GHSA-6565-fg86-6jcx , PYSEC-2015-8 , EUVD-2015-0017
- cvss
- 6.1
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi django 1.7.6, 1.8b2
- python-django Debian 14, Debian 13, Debian 12 1.7.6-1
debian advisories DEBIAN-CVE-2015-2241
Is CVE-2015-2241 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-2241 updated cvss 4.3
Django: XSS attack via properties in ModelAdmin.readonly_fields
-
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) python-django Red Hat Enterprise Linux OpenStack Platform 6 (Juno) python-django Red Hat OpenStack Platform 4 Django14 Red Hat Subscription Asset Manager Djangonot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.06% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- code.djangoproject.com https://code.djangoproject.com/ticket/24461 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | <1.7.6 >=1.8a1, <1.8b2 |
1.7.6 1.8b2 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/django/django/commit/2654e1b93923bac55f12b4e66c5e39b16695ace5
web
-
github.com
/django/django/commit/82c9169077a066995e3b00aac551bf1c8a89d98a
web
-
code.djangoproject.com
/ticket/24461
web, exploit, vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2015:109
vendor-advisory, web, advisory
-
djangoproject.com
/weblog/2015/mar/09/security-releases/
vendor-advisory, article
-
securityfocus.com
/bid/73095
vdb-entry, web
-
nvd.nist.gov
/vuln/detail/CVE-2015-2241
advisory
-
github.com
/django/django
package
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-8.yaml
web
-
web.archive.org
/web/20150523054951/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:109/?name=MDVSA
web
-
web.archive.org
/web/20171112005349/http://www.securityfocus.com/bid/73095
web
-
djangoproject.com
/weblog/2015/mar/09/security-releases
web
-
github.com
/advisories/GHSA-6565-fg86-6jcx
advisory
Sources
- CVE List CVE-2015-2241
- GitHub Advisory GHSA-6565-fg86-6jcx
- NVD CVE-2015-2241
- OSV PYSEC-2015-8
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.