Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2018-5712

65
FAUCET Score

CVE-2018-5712 is a Reflected Cross-Site Scripting (XSS) vulnerability found in PHP versions prior to 5.6.33, 7.0.27, 7.1.13, and 7.2.1, specifically affecting the PHAR 404 error page when a request is made for a .phar file with a malicious URI. This vulnerability has a CVSS score of 6.1 (Medium), indicating it can be exploited remotely with low attack complexity, requiring user interaction, and potentially leading to low impact on confidentiality and integrity. Despite its high FAUCET Risk Score of 98/100 and above-average EPSS score, there is currently no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
<= 5.6.32CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.0.0, <= 7.0.26CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
> 7.1.0, <= 7.1.12CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
7.2.0CPE matchmatch criteria
cpe:2.3:a:php:php:7.2.0:*:*:*:*:*:*:*
7.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.0

6.1MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
Exploitability Score
2.8
Impact Score
2.7
CvssVersion
3.0

Exploit Intelligence

EPSS Score
79.95%
Probability of exploitation in next 30 days
EPSS Percentile
99.6%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.7995 is in the 100th percentile among its peer group of 26,236 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (14)

redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: php-0:5.4.16-48.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 6Fixed in: rh-php70-php-0:7.0.27-1.el6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSFixed in: rh-php70-php-0:7.0.27-1.el6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7Fixed in: rh-php70-php-0:7.0.27-1.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7Fixed in: rh-php71-php-0:7.1.30-1.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUSFixed in: rh-php70-php-0:7.0.27-1.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSFixed in: rh-php70-php-0:7.0.27-1.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSFixed in: rh-php71-php-0:7.1.30-1.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSFixed in: rh-php70-php-0:7.0.27-1.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSFixed in: rh-php71-php-0:7.1.30-1.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSFixed in: rh-php71-php-0:7.1.30-1.el7
View patch
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 5Fixed in: php53
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 6Fixed in: php
redhatend of lifevia redhat_api
Product: Red Hat Software CollectionsFixed in: rh-php56-php

Vendor Advisories (1)

redhatCVE-2018-5712Moderate

php: Reflected XSS on PHAR 404 page

Jun 19, 2017

References

php.net / ChangeLog-5.php
Release NotesVendor Advisory
php.net / ChangeLog-7.php
Release NotesVendor Advisory
access.redhat.com / errata/RHSA-2018:1296
Third Party Advisory
access.redhat.com / errata/RHSA-2019:2519
bugs.php.net / bug.php
Issue TrackingPatchVendor Advisory
lists.debian.org / debian-lts-announce/2018/01/msg00025.html
Mailing ListThird Party Advisory
usn.ubuntu.com / 3566-1
Third Party Advisory
usn.ubuntu.com / 3600-1
Third Party Advisory
usn.ubuntu.com / 3600-2
Third Party Advisory
oracle.com / security-alerts/cpuapr2020.html
securityfocus.com / bid/102742
Third Party AdvisoryVDB Entry
securityfocus.com / bid/104020
Third Party AdvisoryVDB Entry
securitytracker.com / id/1040363
Third Party AdvisoryVDB Entry