HTML Purifier CSS Multiple Cross-Site Scripting Vulnerabilities
BID:29886
Info
HTML Purifier CSS Multiple Cross-Site Scripting Vulnerabilities
| Bugtraq ID: | 29886 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 23 2008 12:00AM |
| Updated: | Jun 24 2008 07:11PM |
| Credit: | The vendor disclosed these issues. |
| Vulnerable: |
Edward Z. Yang HTML Purifier 2.0.1 Edward Z. Yang HTML Purifier 2.0 Edward Z. Yang HTML Purifier 3.1 Edward Z. Yang HTML Purifier 2.1 |
| Not Vulnerable: |
Edward Z. Yang HTML Purifier 3.1.1 Edward Z. Yang HTML Purifier 2.1.5 |
Discussion
HTML Purifier CSS Multiple Cross-Site Scripting Vulnerabilities
HTML Purifier is prone to multiple cross-site scripting vulnerabilities because the application fails to properly sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.
Versions prior to HTML Purifier 2.1.5 and 3.1.1 are affected.
HTML Purifier is prone to multiple cross-site scripting vulnerabilities because the application fails to properly sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.
Versions prior to HTML Purifier 2.1.5 and 3.1.1 are affected.
Exploit / POC
HTML Purifier CSS Multiple Cross-Site Scripting Vulnerabilities
An attacker can exploit these issues by enticing an unsuspecting user to follow a malicious URI.
An attacker can exploit these issues by enticing an unsuspecting user to follow a malicious URI.
Solution / Fix
HTML Purifier CSS Multiple Cross-Site Scripting Vulnerabilities
Solution:
The vendor has released fixes. Please see the references for more information.
Edward Z. Yang HTML Purifier 3.1
Edward Z. Yang HTML Purifier 2.1
Edward Z. Yang HTML Purifier 2.0
Edward Z. Yang HTML Purifier 2.0.1
Solution:
The vendor has released fixes. Please see the references for more information.
Edward Z. Yang HTML Purifier 3.1
-
Edward Z. Yang htmlpurifier-3.1.1.tar.gz
http://htmlpurifier.org/releases/htmlpurifier-3.1.1.tar.gz
Edward Z. Yang HTML Purifier 2.1
-
Edward Z. Yang htmlpurifier-2.1.5.tar.gz
http://htmlpurifier.org/releases/htmlpurifier-2.1.5.tar.gz
Edward Z. Yang HTML Purifier 2.0
-
Edward Z. Yang htmlpurifier-2.1.5.tar.gz
http://htmlpurifier.org/releases/htmlpurifier-2.1.5.tar.gz
Edward Z. Yang HTML Purifier 2.0.1
-
Edward Z. Yang htmlpurifier-2.1.5.tar.gz
http://htmlpurifier.org/releases/htmlpurifier-2.1.5.tar.gz
References
HTML Purifier CSS Multiple Cross-Site Scripting Vulnerabilities
References:
References:
- HTML Purifier 3.1.1 released (Edward Z. Yang)
- HTML Purifier Homepage (Edward Z. Yang)