{"api_version":"1","generated_at":"2026-07-23T12:05:21+00:00","cve":"CVE-2015-2241","urls":{"html":"https://cve.report/CVE-2015-2241","api":"https://cve.report/api/cve/CVE-2015-2241.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-2241","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-2241"},"summary":{"title":"CVE-2015-2241","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.","state":"PUBLISHED","assigner":"mitre","published_at":"2015-03-12 14:59:05","updated_at":"2026-05-06 22:30:45"},"problem_types":["CWE-79","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.3","severity":"","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"}}],"references":[{"url":"https://www.djangoproject.com/weblog/2015/mar/09/security-releases/","name":"https://www.djangoproject.com/weblog/2015/mar/09/security-releases/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Security releases and advisory issued | Weblog | Django","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/73095","name":"http://www.securityfocus.com/bid/73095","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Malformed Request","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://code.djangoproject.com/ticket/24461","name":"https://code.djangoproject.com/ticket/24461","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Vendor Advisory"],"title":"#24461 (Admin readonly_fields pointing to properties (@property) do not get escaped.)\n     – Django","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:109","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:109","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Support / Security / Advisories /  / MDVSA-2015:109 | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-2241","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-2241","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2015","cve_id":"2241","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"djangoproject","cpe5":"django","cpe6":"1.8","cpe7":"beta1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"2241","vulnerable":"1","versionEndIncluding":"1.7.5","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"djangoproject","cpe5":"django","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T05:10:15.804Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"73095","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/73095"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://code.djangoproject.com/ticket/24461"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://www.djangoproject.com/weblog/2015/mar/09/security-releases/"},{"name":"MDVSA-2015:109","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:109"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2015-03-07T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2016-11-30T18:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"73095","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/73095"},{"tags":["x_refsource_CONFIRM"],"url":"https://code.djangoproject.com/ticket/24461"},{"tags":["x_refsource_CONFIRM"],"url":"https://www.djangoproject.com/weblog/2015/mar/09/security-releases/"},{"name":"MDVSA-2015:109","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:109"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2015-2241","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"73095","refsource":"BID","url":"http://www.securityfocus.com/bid/73095"},{"name":"https://code.djangoproject.com/ticket/24461","refsource":"CONFIRM","url":"https://code.djangoproject.com/ticket/24461"},{"name":"https://www.djangoproject.com/weblog/2015/mar/09/security-releases/","refsource":"CONFIRM","url":"https://www.djangoproject.com/weblog/2015/mar/09/security-releases/"},{"name":"MDVSA-2015:109","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:109"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2015-2241","datePublished":"2015-03-12T14:00:00.000Z","dateReserved":"2015-03-09T00:00:00.000Z","dateUpdated":"2024-08-06T05:10:15.804Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2015-03-12 14:59:05","lastModifiedDate":"2026-05-06 22:30:45","problem_types":["CWE-79","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","versionEndIncluding":"1.7.5","matchCriteriaId":"0ECFF958-872F-4EC8-B5B2-9C0988E55D42"},{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.8:beta1:*:*:*:*:*:*","matchCriteriaId":"DC23A3EC-942C-4B8D-A3D1-AC7C6526BF1E"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2015","CveId":"2241","Ordinal":"1","Title":"CVE-2015-2241","CVE":"CVE-2015-2241","Year":"2015"},"notes":[{"CveYear":"2015","CveId":"2241","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2015-2241"},{"CveYear":"2015","CveId":"2241","Ordinal":"2","NoteData":"2015-03-12","Type":"Other","Title":"Published"},{"CveYear":"2015","CveId":"2241","Ordinal":"3","NoteData":"2016-11-30","Type":"Other","Title":"Modified"}]}}}