CVE-2008-5814 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML via unspecified vectors when display_errors is enabled in PHP.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2008-5814?
CVE-2008-5814 is a low-severity cross-site scripting vulnerability in Php Php, published on 2 Jan 2009. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2008-5814?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2008-5814?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2008-5814 being exploited?
There is no known exploitation of CVE-2008-5814 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-qmvx-3c3m-8hg9.