CVE-2018-5712

Summary

CVECVE-2018-5712
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-01-16 09:29:00 UTC
Updated2019-08-19 11:15:00 UTC
DescriptionAn 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.

Risk And Classification

Problem Types: CWE-79

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 17.10 All All All
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 17.10 All All All
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 7.0 All All All
Application Php Php 7.2.0 All All All
Application Php Php 7.2.0 All All All
Application Php Php All All All All
Application Php Php All All All All
Application Php Php All All All All

References

ReferenceSourceLinkTags
USN-3600-2: PHP vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
USN-3600-1: PHP vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
PHP CVE-2018-5712 Cross Site Scripting Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
PHP: PHP 7 ChangeLog CONFIRM php.net Release Notes, Vendor Advisory
PHP Input Validation Flaw in PHAR 404 Error Page Lets Remote Users Conduct Cross-Site Scripting Attacks - SecurityTracker SECTRACK www.securitytracker.com Third Party Advisory, VDB Entry
USN-3566-1: PHP vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
PHP :: Sec Bug #74782 :: Reflected XSS in .phar 404 page CONFIRM bugs.php.net Issue Tracking, Patch, Vendor Advisory
[SECURITY] [DLA 1251-1] php5 security update MLIST lists.debian.org Mailing List, Third Party Advisory
Oracle Critical Patch Update Advisory - April 2020 N/A www.oracle.com
PHP: PHP 5 ChangeLog CONFIRM php.net Release Notes, Vendor Advisory
Red Hat Customer Portal REDHAT access.redhat.com
PHP CVE-2018-10547 Incomplete Fix Cross Site Scripting Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 377294 Alibaba Cloud Linux Security Update for Hypertext Preprocessor (PHP) (ALINUX2-SA-2020:0054)
  • 501131 Alpine Linux Security Update for php7
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report