CVE-2015-8935

6.1 MEDIUM
Published: August 07, 2016 Modified: May 06, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/06/20/3
Source: cve@mitre.org
Mailing List Patch
https://bugs.php.net/bug.php?id=68978
Source: cve@mitre.org
Issue Tracking Vendor Advisory
http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://rhn.redhat.com/errata/RHSA-2016-2750.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2016/06/20/3
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Patch
https://bugs.php.net/bug.php?id=68978
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking Vendor Advisory
https://github.com/php/php-src/commit/996faf964bba1aec06b153b370a7f20d3dd2bb8b?w=1
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking Patch

14 reference(s) from NVD

Quick Stats

CVSS v3 Score
6.1 / 10.0
EPSS (Exploit Probability)
1.1%
78th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

php