{"id":"CVE-2018-5712","published":"2018-01-16T09:00:00Z","modified":"2024-08-05T05:40:51Z","title":"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","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is a reflected cross-site scripting (XSS) issue on the 404 error page generated by PHP's PHAR handling, affecting 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. An attacker can get script injected into the page by crafting a request for a .phar file whose URI carries the payload, so the victim's browser runs it, and the attack requires the victim to open or follow such a link (user interaction), with no authentication needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:22:51Z"},"cvss":null,"epss":{"score":0.79949,"percentile":0.99612,"date":"2026-11-01","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":2,"pulses":[{"name":"216.70.102.87  accessdomain.com   64.207.129.182","url":"https://otx.alienvault.com/pulse/67eca9b9739aeabdab40759b","created":"2025-04-02"},{"name":"Internal CVE Research","url":"https://otx.alienvault.com/pulse/6228b4f0b2d5ade72cc7a0ea","created":"2022-03-09"}],"provenance":"machine"},"cwes":[],"references":[{"url":"https://usn.ubuntu.com/3600-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securitytracker.com/id/1040363","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.securityfocus.com/bid/104020","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://access.redhat.com/errata/RHSA-2018:1296","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/3566-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://php.net/ChangeLog-7.php","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00025.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://bugs.php.net/bug.php?id=74782","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/102742","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://usn.ubuntu.com/3600-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2519","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2020.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2018-17481","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2018-17481","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2018-01-16","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2018-5712","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":21.0,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.92,"detail":"percentile 0.9961"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-cve-2018-5712-family-cve-2018-5712","children":[{"from":"CVE-2018-5712","to":"CVE-2018-10547","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this vulnerability exists because of an incomplete fix for CVE-2018-5712.","from":"CVE.org","in":"CVE-2018-10547"}]}]}}