Vulnerabilities · 2015 · Php
CVE-2015-8935
Php vulnerability
The sapi_header_op function in main/SAPI.c in PHP before 5.4.38, 5.5.x before 5.5.22, and 5.6.x before 5.6.6 supports deprecated line folding without considering browser compatibility, which allows remote attackers to conduct cross-site scripting (XSS) attacks against Internet Explorer by leveraging (1) %0A%20 or (2) %0D%0A%20 mishandling in the header function.
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.php.net/bug.php?id=68978 · Vendor Advisory
- www.openwall.com/lists/oss-security/2016/06/20/3 · Patch
- github.com/php/php-src/commit/996faf964bba1aec06b153b370a7f20d3dd2bb8b?w=1 · Patch
- lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html
- lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html
- lists.opensuse.org/opensuse-updates/2016-08/msg00003.html
- rhn.redhat.com/errata/RHSA-2016-2750.html
- nvd.nist.gov/vuln/detail/CVE-2015-8935
- cve.org/CVERecord?id=CVE-2015-8935
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.