GHSA-6565-fg86-6jcx
Dashboard / Vulnerabilities / GHSA-6565-fg86-6jcx
GHSA-6565-fg86-6jcx
Summary: Django Cross-site Scripting Vulnerability
Details: 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 an `@property`.
References: https://nvd.nist.gov/vuln/detail/CVE-2015-2241, https://github.com/django/django/commit/2654e1b93923bac55f12b4e66c5e39b16695ace5, https://github.com/django/django/commit/82c9169077a066995e3b00aac551bf1c8a89d98a, https://code.djangoproject.com/ticket/24461, https://github.com/django/django, https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-8.yaml, https://web.archive.org/web/20150523054951/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:109/?name=MDVSA-2015:109, https://web.archive.org/web/20171112005349/http://www.securityfocus.com/bid/73095, https://www.djangoproject.com/weblog/2015/mar/09/security-releases, http://www.mandriva.com/security/advisories?name=MDVSA-2015:109
Affected packages
Package
Name: django
Purl: pkg:pypi/django
Affected ranges
Type: ECOSYSTEM
Events:
