CVE-2004-0595: XSS
The striptags function in PHP 4.x up to 4.3.7, and 5.x up to 5.0.0RC3, does not filter null (\0) characters within tag names when restricting input to allowed tags, which allows dangerous tags to be processed by web browsers such as Internet Explorer and Safari, which ignore null characters and facilitate the exploitation of cross-site scripting (XSS) vulnerabilities.
Affected Software
Remediation
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2004-0595?
CVE-2004-0595 is considered a moderate severity vulnerability due to its potential to allow script execution in web applications.
How do I fix CVE-2004-0595?
To fix CVE-2004-0595, update PHP to a version higher than 5.0.0RC3, where the null character filtering issue has been resolved.
What are the affected software versions in CVE-2004-0595?
CVE-2004-0595 affects PHP versions 4.x up to 4.3.7 and 5.x up to 5.0.0RC3.
What type of attacks can CVE-2004-0595 enable?
CVE-2004-0595 can enable cross-site scripting (XSS) attacks due to improper filtering of null characters.
Who is impacted by CVE-2004-0595?
Users of PHP versions affected by CVE-2004-0595, particularly those implementing the strip_tags function in their web applications, are impacted.