Description
Cross-site scripting (XSS) vulnerability in PHP, possibly 5.2.7 and earlier, when display_errors is enabled, allows remote attackers to inject arbitrary web script or HTML via unspecified vectors. NOTE: because of the lack of details, it is unclear whether this is related to CVE-2006-0208.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 5.0 | php5 | 5.2.6.dfsg.1-1+lenny3 | DSA-1789-1 |
| Debian 4.0 | php5 | 5.2.0+dfsg-8+etch15 | DSA-1789-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | php +18 | 5.1.6-23.2.el5_3 | RHSA-2009:0338 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhel Application Stack 2 | php +18 | 5.2.6-4.el5s2 | RHSA-2009:0350 |
Advisories 3
- RHSA-2009:0338 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1789-1 php5 - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- RHSA-2009:0350 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
References
- JVN#50327700 third-party-advisory
- HPSBMA02426 vendor-advisory
- JVNDB-2008-000084 third-party-advisory
- HPSBMA02492 vendor-advisory
- 35007 third-party-advisory
- 34933 third-party-advisory
- 34830 third-party-advisory
- USN-761-2 vendor-advisory
- 35108 third-party-advisory
- RHSA-2009:0350 vendor-advisory
- 35003 third-party-advisory
- oval:org.mitre.oval:def:10501 vdb-entry signature
- php-directives-xss(47496) vdb-entry
- ADV-2009-1338 vdb-entry
- USN-761-1 vendor-advisory
- DSA-1789 vendor-advisory