XSS in Php

CVE-2015-8935

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.030 (85.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

  • Php — versions 5.5.0, 5.5.1, 5.5.2
  • N/a — versions n/a

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2015-8935?
CVE-2015-8935 is a medium-severity vulnerability in Php, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2016-08-07.
How severe is CVE-2015-8935?
Medium severity. CVSS v3 base score is 6.1 out of 10.