Advisory

PYSEC-2015-8

Also known as: CVE-2015-2241, GHSA-6565-fg86-6jcx

Summary

The record has no summary.

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 a @property.

Severity

Not rated by the source.

Dates

Published
2015-03-12 14:59 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.7.6, introduced 1.8a1, fixed 1.8b2 (ecosystem)

Fixed versions

1.7.6, 1.8b2

Fix

  • Fixed version 1.7.6
    pip install --upgrade django==1.7.6
  • Fixed version 1.8b2
    pip install --upgrade django==1.8b2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences