{"id":"CVE-2015-2241","aliases":["GHSA-6565-fg86-6jcx","PYSEC-2015-8"],"url":"https://o3.security/vulnerability/CVE-2015-2241","summary":"Django Cross-site Scripting Vulnerability","details":"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":"2015-03-12T14:59:05Z","modified":"2026-04-16T06:24:20.836211615Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"django","fixedVersion":"1.7.6"},{"ecosystem":"PyPI","name":"django","fixedVersion":"1.8b2"}],"fix":{"url":"https://github.com/django/django/commit/2654e1b93923bac55f12b4e66c5e39b16695ace5","label":"django/django@2654e1b"},"references":[{"type":"ADVISORY","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:109"},{"type":"ADVISORY","url":"https://code.djangoproject.com/ticket/24461"},{"type":"ADVISORY","url":"https://www.djangoproject.com/weblog/2015/mar/09/security-releases/"},{"type":"WEB","url":"http://www.securityfocus.com/bid/73095"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-2241"},{"type":"WEB","url":"https://github.com/django/django/commit/2654e1b93923bac55f12b4e66c5e39b16695ace5"},{"type":"WEB","url":"https://github.com/django/django/commit/82c9169077a066995e3b00aac551bf1c8a89d98a"},{"type":"PACKAGE","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-8.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20150523054951/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:109/?name=MDVSA-2015:109"},{"type":"WEB","url":"https://web.archive.org/web/20171112005349/http://www.securityfocus.com/bid/73095"},{"type":"WEB","url":"https://www.djangoproject.com/weblog/2015/mar/09/security-releases"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-16T06:24:20.836211615Z"}}