CVE-2015-2241: XSS

Published Mar 12, 2015
·
Updated

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.readonlyfields, as demonstrated by an @property.

Other sources

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.readonlyfields, as demonstrated by a @property.

Affected Software

4 affected componentsFixes available
pip/django<1.7.6
1.7.6
pip/django>=1.8a1<1.8b2
1.8b2
djangoproject Django<=1.7.5
djangoproject Django=1.8-beta1

Event History

Mar 12, 2015
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
via NVD·02:59 PM
DescriptionSeverityWeaknessAffected Software
May 17, 2022
Advisory Published
03:34 AM

Frequently Asked Questions

1

What is the severity of CVE-2015-2241?

CVE-2015-2241 is classified as a medium severity vulnerability due to the potential for cross-site scripting (XSS) attacks.

2

How do I fix CVE-2015-2241?

To fix CVE-2015-2241, upgrade Django to version 1.7.6 or 1.8b2 or later.

3

What types of applications are affected by CVE-2015-2241?

CVE-2015-2241 affects Django applications that utilize the ModelAdmin.readonly_fields feature.

4

Can CVE-2015-2241 allow attackers to execute scripts?

Yes, CVE-2015-2241 allows remote attackers to inject arbitrary web scripts or HTML into affected applications.

5

Which versions of Django are vulnerable to CVE-2015-2241?

Versions of Django prior to 1.7.6 and 1.8 before 1.8b2 are vulnerable to CVE-2015-2241.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203