Skip to content
Fencer Vulns
low 2.6

CVE-2008-5814 json

Cross-site scripting (XSS) vulnerability in PHP, possibly 5.2.7 and earlier, when display_errors is enabled, allows remote attackers to inj…

published 2009-01-02 17 y ago modified 2026-06-16 4 mo ago also EUVD-2008-5784

cvss
2.6
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.9%
EPSS 1.9% chance of exploitation in 30 days, percentile 79%
public exploits
0
none known

Summary

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.

Patch / fix

  • php RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
  • php-gd RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
  • php-cli RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
  • php-dba RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
  • php-pdo RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
  • php-xml RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
  • php-imap RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2
  • php-ldap RHEL 2 APPLICATION_STACK 5.2.6-4.el5s2

red hat advisories RHSA-2009:0350RHSA-2009:0338

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2008-5814 updated

php: XSS via PHP error messages

  • Red Hat Enterprise Linux (v. 5 server) php 5.1.6-23.2.el5_3, php-gd 5.1.6-23.2.el5_3, php-cli 5.1.6-23.2.el5_3, php-dba 5.1.6-23.2.el5_3, php-pdo 5.1.6-23.2.el5_3, php-xml 5.1.6-23.2.el5_3, +12 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php 5.1.6-23.2.el5_3, php-gd 5.1.6-23.2.el5_3, php-cli 5.1.6-23.2.el5_3, php-dba 5.1.6-23.2.el5_3, php-pdo 5.1.6-23.2.el5_3, php-xml 5.1.6-23.2.el5_3, +12 more
    fixed: vendor fix RHSA-2009:0338

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.86% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 2.0 2.6 AV:N/AC:H/Au:N/C:N/I:P/A:N

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.