CVE-2015-2241:
Django Cross-site Scripting Vulnerability
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.49007%
CWE
Published
5/17/2022
Updated
9/18/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
django | pip | < 1.7.6 | 1.7.6 |
django | pip | >= 1.8a1, < 1.8b2 | 1.8b2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from the contents function in admin/helpers.py handling non-field readonly attributes. The commit diff shows the fix added autoescape=True to linebreaksbr() calls. This confirms the original function lacked proper escaping for properties, making it the direct source of XSS vulnerability when rendering untrusted content.