PT-2015-5682 · Django Software Foundation · Django
Eran Rundstein
·
Published
2015-03-12
·
Updated
2022-05-17
·
CVE-2015-2241
CVSS v4.0
5.3
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
Name of the Vulnerable Software and Affected Versions
Django versions prior to 1.7.6
Django versions prior to 1.8b2
Description
A cross-site scripting (XSS) issue exists in the contents function in admin/helpers.py, allowing remote attackers to inject arbitrary web script or HTML via a model attribute in
ModelAdmin.readonly fields, as demonstrated by an @property. This enables attackers to execute malicious scripts on the client-side.Recommendations
For Django versions prior to 1.7.6, update to version 1.7.6 or later to resolve the issue.
For Django versions prior to 1.8b2, update to version 1.8b2 or later to resolve the issue.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Django