CVE-2015-8935
Reported by mitre · Published August 7, 2016
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php5 | Ubuntu:14.04:LTS | 5.5.9+dfsg-1ubuntu4.19 |
| php | php | 5.4.37 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Aug 7, 2016 CVE Published
- Aug 17, 2016 PoC Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch
- Mar 5, 2026 Security Advisory (5 in total, the first dated here)
- Oct 11, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-8935
vulnetix vdb fixes CVE-2015-8935
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-8935/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- openSUSE-SU-2016:1761 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2016:1922 vendor-advisoryx_refsource_SUSE
- RHSA-2016:2750 vendor-advisoryx_refsource_REDHAT
- [oss-security] 20160620 CVE request for PHP bug #68978: "XSS in header() with Internet Explorer" (2015) mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- SUSE-SU-2016:2013 vendor-advisoryx_refsource_SUSE