CWE
NVD-CWE-Other 79
Advisory Published
Updated

CVE-2007-1287: XSS

First published: Tue Mar 06 2007(Updated: )

A regression error in the phpinfo function in PHP 4.4.3 to 4.4.6, and PHP 6.0 in CVS, allows remote attackers to conduct cross-site scripting (XSS) attacks via GET, POST, or COOKIE array values, which are not escaped in the phpinfo output, as originally fixed for CVE-2005-3388.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
PHP=4.4.4
PHP=6.0
PHP=4.4.5
PHP=4.4.6

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-2007-1287?

    CVE-2007-1287 has a medium severity rating due to its potential for cross-site scripting attacks.

  • How do I fix CVE-2007-1287?

    To fix CVE-2007-1287, upgrade to PHP versions 4.4.7 or later, or the fixed version for PHP 6.0.

  • What versions of PHP are affected by CVE-2007-1287?

    CVE-2007-1287 affects PHP versions 4.4.3 to 4.4.6 and version 6.0 in CVS.

  • What type of attack does CVE-2007-1287 facilitate?

    CVE-2007-1287 facilitates cross-site scripting (XSS) attacks through unsanitized user inputs in phpinfo output.

  • Is CVE-2007-1287 a newly discovered vulnerability?

    CVE-2007-1287 was discovered in 2007 and is a regression of a previously fixed issue.

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