CVE-2015-8935

MEDIUM

PHP < 5.4.38 - Cross-Site Scripting via Header Function Line Folding

Title source: llm
STIX 2.1

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.

References (7)

Core 7
Core References
Mailing List vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-2750.html
Mailing List, Patch mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2016/06/20/3
Issue Tracking, Vendor Advisory x_refsource_confirm
https://bugs.php.net/bug.php?id=68978

Scores

CVSS v3 6.1
EPSS 0.0112
EPSS Percentile 78.4%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Details

CWE
CWE-79
Status published
Products (26)
php/php 5.5.0 (13 CPE variants)
php/php 5.5.1
php/php 5.5.2
php/php 5.5.3
php/php 5.5.4
php/php 5.5.5
php/php 5.5.6
php/php 5.5.7
php/php 5.5.8
php/php 5.5.9
... and 16 more
Published Aug 07, 2016
Tracked Since Feb 18, 2026