Medium severity · published Aug 7, 2016
CVE-2015-8935
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…
6.1
CVSS
3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)3.0% · higher than 87% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
through 5.4.37; 5.5.0; 5.5.0; 5.5.0; 5.5.0; 5.5.0; +34 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2015-8935
CVE.org
https://www.cve.org/CVERecord?id=CVE-2015-8935
lists.opensuse.org
http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html
rhn.redhat.com
http://rhn.redhat.com/errata/RHSA-2016-2750.html
Mailing List
http://www.openwall.com/lists/oss-security/2016/06/20/3
Issue Tracking
https://bugs.php.net/bug.php?id=68978
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
