{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2015-2241","id":"CVE-2015-2241","title":"Django Cross-site Scripting Vulnerability","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.","descriptionLong":"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:00:00.000Z","updated":"2026-06-17T00:23:48.180Z","reserved":"2015-03-09T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<1.7.6",">=1.8a1 <1.8b2"],"fixed":["1.7.6","1.8b2"],"advisory":"GHSA-6565-fg86-6jcx"}],"cwes":["CWE-79"],"aliases":["GHSA-6565-fg86-6jcx","PYSEC-2015-8"],"references":[{"url":"http://www.securityfocus.com/bid/73095","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://code.djangoproject.com/ticket/24461","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","evidence","web"]},{"url":"https://www.djangoproject.com/weblog/2015/mar/09/security-releases/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","article"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:109","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-2241","tags":["advisory"]},{"url":"https://github.com/django/django/commit/2654e1b93923bac55f12b4e66c5e39b16695ace5","tags":["web"]},{"url":"https://github.com/django/django/commit/82c9169077a066995e3b00aac551bf1c8a89d98a","tags":["web"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-8.yaml","tags":["web"]},{"url":"https://web.archive.org/web/20150523054951/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:109/?name=MDVSA-2015:109","tags":["web"]},{"url":"https://web.archive.org/web/20171112005349/http://www.securityfocus.com/bid/73095","tags":["web"]},{"url":"https://www.djangoproject.com/weblog/2015/mar/09/security-releases","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6565-fg86-6jcx","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02061,"epssPercentile":0.81723,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2015-2241","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-2241","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2015-2241","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6565-fg86-6jcx","ok":true,"note":"GHSA-6565-fg86-6jcx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2015-2241","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}