CVE-2018-5712

CVE-2018-5712 is a medium-severity vulnerability in Php with a CVSS 3.x base score of 6.1. Its EPSS exploit-prediction score of 80% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-79.

Key facts

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.

Frequently asked questions

What is CVE-2018-5712?
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.
How severe is CVE-2018-5712?
CVE-2018-5712 has a CVSS 3.x base score of 6.1, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
Is CVE-2018-5712 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 80% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2018-5712?
CVE-2018-5712 primarily affects Php. In total, 7 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2018-5712?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2018-5712 published?
CVE-2018-5712 was published on 2018-01-16 and last updated on 2026-06-17.

References

Affected products (7)

More vulnerabilities in Php

All CVEs affecting Php →

Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities

Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →

Threat intelligence

Threat-intel indicators referencing this CVE: