CVE-2004-0595: XSS

Published Jul 16, 2004
·
Updated

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

38 affected components
Avaya Converged Communications Server=2.0
redhat Fedora Core=core_1.0
redhat Fedora Core=core_2.0
Trustix Secure Linux=1.5
Trustix Secure Linux=2.0
Trustix Secure Linux=2.1
Avaya Integrated Management
PHP PHP=4.0
PHP PHP=4.0.1
PHP PHP=4.0.2
PHP PHP=4.0.3
PHP PHP=4.0.4
PHP PHP=4.0.5
PHP PHP=4.0.6
PHP PHP=4.0.7
PHP PHP=4.1.0
PHP PHP=4.1.1
PHP PHP=4.1.2
PHP PHP=4.2.0
PHP PHP=4.2.1
PHP PHP=4.2.2
PHP PHP=4.2.3
PHP PHP=4.3.0
PHP PHP=4.3.1
PHP PHP=4.3.2
PHP PHP=4.3.3
PHP PHP=4.3.5
PHP PHP=4.3.6
PHP PHP=4.3.7
PHP PHP=5.0-rc1
PHP PHP=5.0-rc2
PHP PHP=5.0-rc3
Avaya S8300=r2.0.0
Avaya S8300=r2.0.1
Avaya S8500=r2.0.0
Avaya S8500=r2.0.1
Avaya S8700=r2.0.0
Avaya S8700=r2.0.1

Event History

Jul 16, 2004
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
Description

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203