CVE-2018-5712

Description

An issue was discovered in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1. There is Reflected XSS on the PHAR 404 error page via the URI of a request for a .phar file.

Category

6.1
CVSS
Severity: Medium
CVSS 3.0 •
CVSS 2.0 •
EPSS 87.13% Top 5%
Vendor Advisory ubuntu.com Vendor Advisory redhat.com Vendor Advisory ubuntu.com Vendor Advisory ubuntu.com Vendor Advisory redhat.com Vendor Advisory php.net Vendor Advisory php.net Vendor Advisory php.net
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
https://usn.ubuntu.com/3600-1/ third party advisory vendor advisory
http://www.securitytracker.com/id/1040363 vdb entry third party advisory
http://www.securityfocus.com/bid/104020 vdb entry third party advisory
https://access.redhat.com/errata/RHSA-2018:1296 third party advisory vendor advisory
http://php.net/ChangeLog-5.php release notes vendor advisory
https://usn.ubuntu.com/3566-1/ third party advisory vendor advisory
http://php.net/ChangeLog-7.php release notes vendor advisory
https://lists.debian.org/debian-lts-announce/2018/01/msg00025.html third party advisory mailing list
https://bugs.php.net/bug.php?id=74782 issue tracking patch vendor advisory
http://www.securityfocus.com/bid/102742 vdb entry third party advisory
https://usn.ubuntu.com/3600-2/ third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2019:2519 vendor advisory
https://www.oracle.com/security-alerts/cpuapr2020.html

Frequently Asked Questions

What is the severity of CVE-2018-5712?
CVE-2018-5712 has been scored as a medium severity vulnerability.
How to fix CVE-2018-5712?
To fix CVE-2018-5712, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2018-5712 being actively exploited in the wild?
It is possible that CVE-2018-5712 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~87% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.