{"id":"CVE-2015-8935","state":"PUBLISHED","title":"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 compatibil","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.","publishedAt":"2016-08-07T10:00:00.000Z","updatedAt":"2024-08-06T08:36:30.673Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/php/php-src/commit/996faf964bba1aec06b153b370a7f20d3dd2bb8b?w=1","http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html","http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html","http://rhn.redhat.com/errata/RHSA-2016-2750.html","http://www.openwall.com/lists/oss-security/2016/06/20/3","https://bugs.php.net/bug.php?id=68978","http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:17.446Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2015/8xxx/CVE-2015-8935.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2015-8935","state":"PUBLISHED","datePublished":"2016-08-07T10:00:00.000Z","dateUpdated":"2024-08-06T08:36:30.673Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2016-06-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/php/php-src/commit/996faf964bba1aec06b153b370a7f20d3dd2bb8b?w=1","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html","name":"openSUSE-SU-2016:1761","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html","name":"openSUSE-SU-2016:1922","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html","name":"RHSA-2016:2750","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.openwall.com/lists/oss-security/2016/06/20/3","name":"[oss-security] 20160620 CVE request for PHP bug #68978: \"XSS in header() with Internet Explorer\" (2015)","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://bugs.php.net/bug.php?id=68978","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html","name":"SUSE-SU-2016:2013","tags":["vendor-advisory","x_refsource_SUSE"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-01-04T19:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2016-06-20T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2015-8935","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/php/php-src/commit/996faf964bba1aec06b153b370a7f20d3dd2bb8b?w=1","refsource":"CONFIRM","url":"https://github.com/php/php-src/commit/996faf964bba1aec06b153b370a7f20d3dd2bb8b?w=1"},{"name":"openSUSE-SU-2016:1761","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html"},{"name":"openSUSE-SU-2016:1922","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html"},{"name":"RHSA-2016:2750","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html"},{"name":"[oss-security] 20160620 CVE request for PHP bug #68978: \"XSS in header() with Internet Explorer\" (2015)","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/06/20/3"},{"name":"https://bugs.php.net/bug.php?id=68978","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=68978"},{"name":"SUSE-SU-2016:2013","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/php/php-src/commit/996faf964bba1aec06b153b370a7f20d3dd2bb8b?w=1","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html","name":"openSUSE-SU-2016:1761","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html","name":"openSUSE-SU-2016:1922","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html","name":"RHSA-2016:2750","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2016/06/20/3","name":"[oss-security] 20160620 CVE request for PHP bug #68978: \"XSS in header() with Internet Explorer\" (2015)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=68978","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html","name":"SUSE-SU-2016:2013","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T08:36:30.673Z"}}]}}}