CWE
79 NVD-CWE-Other
Advisory Published
Updated

CVE-2004-0595: XSS

First published: Fri Jul 16 2004(Updated: )

The strip_tags 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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
avaya converged communications server=2.0
Red Hat Fedora Core=core_1.0
Red Hat Fedora Core=core_2.0
Trustix Secure Linux=1.5
Trustix Secure Linux=2.0
Trustix Secure Linux=2.1
Avaya Integrated Management Suite
PHP=4.0
PHP=4.0.1
PHP=4.0.2
PHP=4.0.3
PHP=4.0.4
PHP=4.0.5
PHP=4.0.6
PHP=4.0.7
PHP=4.1.0
PHP=4.1.1
PHP=4.1.2
PHP=4.2.0
PHP=4.2.1
PHP=4.2.2
PHP=4.2.3
PHP=4.3.0
PHP=4.3.1
PHP=4.3.2
PHP=4.3.3
PHP=4.3.5
PHP=4.3.6
PHP=4.3.7
PHP=5.0-rc1
PHP=5.0-rc2
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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203