Django CSRF Token HTML Injection Vulnerability

BID:43116

Info

Django CSRF Token HTML Injection Vulnerability

Bugtraq ID: 43116
Class: Input Validation Error
CVE: CVE-2010-3082
Remote: Yes
Local: No
Published: Sep 08 2010 12:00AM
Updated: Apr 16 2015 06:14PM
Credit: Jeff Balogh of Mozilla
Vulnerable: Ubuntu Ubuntu Linux 10.10 powerpc
Ubuntu Ubuntu Linux 10.10 i386
Ubuntu Ubuntu Linux 10.10 amd64
Expinion.net Member Management System 4.0
Django Django development trunk
Django Django 1.2
Not Vulnerable: Django Django 1.2.2

Discussion

Django CSRF Token HTML Injection Vulnerability

Django is prone to an HTML-injection vulnerability because it fails to properly sanitize user-supplied input.

Successful exploits will allow attacker-supplied HTML and script code to run in the context of the affected browser, potentially allowing the attacker to steal cookie-based authentication credentials or to control how the site is rendered to the user. Other attacks are also possible.

Django 1.2 and the development trunk are vulnerable; other versions may also be affected.

Exploit / POC

Django CSRF Token HTML Injection Vulnerability

Attackers can use a browser to exploit this issue.

Solution / Fix

Django CSRF Token HTML Injection Vulnerability

Solution:
Updates are available. Please see the references for more information.


Ubuntu Ubuntu Linux 10.10 amd64

Djangoproject Django 1.2

Djangoproject Django development trunk 0

Ubuntu Ubuntu Linux 10.10 powerpc

Ubuntu Ubuntu Linux 10.10 i386

References

Django CSRF Token HTML Injection Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report