{"id":"CVE-2018-5712","details":"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.","modified":"2026-04-10T04:10:57.713372Z","published":"2018-01-16T09:29:00.623Z","related":["SUSE-SU-2018:0216-1","SUSE-SU-2018:0308-1","SUSE-SU-2018:0806-1"],"references":[{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2020.html"},{"type":"ADVISORY","url":"http://php.net/ChangeLog-5.php"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/102742"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1040363"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:2519"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00025.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3566-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3600-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3600-2/"},{"type":"ADVISORY","url":"http://php.net/ChangeLog-7.php"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/104020"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:1296"},{"type":"FIX","url":"https://bugs.php.net/bug.php?id=74782"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"0"},{"last_affected":"6f21492505dd554667f70884b46802f2fb81c210"},{"introduced":"60fffd296abce5fc071f3c173c25a2696cf683c6"},{"last_affected":"532aa2d2aeb4a1f590f30d4063445473182f9a38"},{"introduced":"0"},{"last_affected":"2d16947f209c40fa4cccc56833aa0807790d52b8"},{"introduced":"0"},{"last_affected":"8148cbb78841c8ec0759c0836e7f35dec799d300"},{"introduced":"0"},{"last_affected":"60fffd296abce5fc071f3c173c25a2696cf683c6"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"5.6.32"},{"introduced":"7.0.0"},{"last_affected":"7.0.26"},{"introduced":"0"},{"last_affected":"7.1.12"},{"introduced":"0"},{"last_affected":"7.2.0"},{"introduced":"0"},{"last_affected":"7.0"}]}}],"versions":["POST_64BIT_BRANCH_MERGE","POST_AST_MERGE","POST_PHP7_NSAPI_REMOVAL","POST_PHP7_REMOVALS","POST_PHPNG_MERGE","PRE_64BIT_BRANCH_MERGE","PRE_AST_MERGE","PRE_PHP7_EREG_MYSQL_REMOVALS","PRE_PHP7_NSAPI_REMOVAL","PRE_PHP7_REMOVALS","l","php-5.6.32","php-7.0.0","php-7.0.26","php-7.0.26RC1","php-7.1.12","php-7.1.12RC1","php-7.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-5712.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"12.04"}]},{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"17.10"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}