CVE-2015-8935

Summary

CVECVE-2015-8935
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-08-07 10:59:01 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.0 6.1 MEDIUM from [email protected]

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Problem Types: CWE-79 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary6.1MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2.0[email protected]Primary4.3AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS v3.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:M/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Php Php 5.5.0 All All All
Application Php Php 5.5.0 alpha1 All All
Application Php Php 5.5.0 alpha2 All All
Application Php Php 5.5.0 alpha3 All All
Application Php Php 5.5.0 alpha4 All All
Application Php Php 5.5.0 alpha5 All All
Application Php Php 5.5.0 alpha6 All All
Application Php Php 5.5.0 beta1 All All
Application Php Php 5.5.0 beta2 All All
Application Php Php 5.5.0 beta3 All All
Application Php Php 5.5.0 beta4 All All
Application Php Php 5.5.0 rc1 All All
Application Php Php 5.5.0 rc2 All All
Application Php Php 5.5.1 All All All
Application Php Php 5.5.10 All All All
Application Php Php 5.5.11 All All All
Application Php Php 5.5.12 All All All
Application Php Php 5.5.13 All All All
Application Php Php 5.5.14 All All All
Application Php Php 5.5.18 All All All
Application Php Php 5.5.19 All All All
Application Php Php 5.5.2 All All All
Application Php Php 5.5.20 All All All
Application Php Php 5.5.21 All All All
Application Php Php 5.5.3 All All All
Application Php Php 5.5.4 All All All
Application Php Php 5.5.5 All All All
Application Php Php 5.5.6 All All All
Application Php Php 5.5.7 All All All
Application Php Php 5.5.8 All All All
Application Php Php 5.5.9 All All All
Application Php Php 5.6.0 alpha1 All All
Application Php Php 5.6.0 alpha2 All All
Application Php Php 5.6.0 alpha3 All All
Application Php Php 5.6.0 alpha4 All All
Application Php Php 5.6.0 alpha5 All All
Application Php Php 5.6.0 beta1 All All
Application Php Php 5.6.0 beta2 All All
Application Php Php 5.6.0 beta3 All All
Application Php Php 5.6.0 beta4 All All
Application Php Php 5.6.1 All All All
Application Php Php 5.6.2 All All All
Application Php Php 5.6.3 All All All
Application Php Php 5.6.4 All All All
Application Php Php 5.6.5 All All All
Application Php Php All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Update header handling to RFC 7230 · php/php-src@996faf9 · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Issue Tracking, Patch
[security-announce] openSUSE-SU-2016:1761-1: important: Security update af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
PHP :: Sec Bug #68978 :: XSS in header() with Internet Explorer af854a3a-2127-422b-91ae-364da2661108 bugs.php.net Issue Tracking, Vendor Advisory
[security-announce] SUSE-SU-2016:2013-1: important: Security update for af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
oss-security - CVE request for PHP bug #68978: "XSS in header() with Internet Explorer" (2015) af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Patch
openSUSE-SU-2016:1922-1: moderate: Security update for php5 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report