php: Reflected XSS on PHAR 404 page
Published Jan 16, 2018
6.1
MEDIUMCVSS 3.0
EPSS 79.95%
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.
Affected products
No data.
Configuration 1
Configuration 2
- 7.0
Configuration 3
- 12.04
- 14.04
- 16.04
- 17.10
No data.
Red Hat Enterprise Linux 7
php-0:5.4.16-48.el7
Fixed · RHSA-2020:1112
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php70-php-0:7.0.27-1.el6
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php70-php-0:7.0.27-1.el6
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Will not fix
Red Hat Enterprise Linux 6
php
Will not fix
Red Hat Enterprise Linux 8
php
Not affected
Red Hat Software Collections
rh-php56-php
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | php-0:5.4.16-48.el7 | Fixed | RHSA-2020:1112 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php70-php-0:7.0.27-1.el6 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php70-php-0:7.0.27-1.el6 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | php | Not affected | n/a |
| Red Hat Software Collections | rh-php56-php | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (70 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 79.95% (0.79949) | 99.60th | v5 (v2026.06.15) |
| Sep 22, 2026 | 79.95% (0.79949) | 99.59th | v5 (v2026.06.15) |
| Sep 21, 2026 | 69.51% (0.69506) | 99.35th | v5 (v2026.06.15) |
| Sep 6, 2026 | 79.95% (0.79949) | 99.58th | v5 (v2026.06.15) |
| Sep 5, 2026 | 69.51% (0.69506) | 99.33th | v5 (v2026.06.15) |
| Aug 30, 2026 | 79.95% (0.79949) | 99.58th | v5 (v2026.06.15) |
| Aug 28, 2026 | 69.51% (0.69506) | 99.33th | v5 (v2026.06.15) |
| Aug 24, 2026 | 79.95% (0.79949) | 99.58th | v5 (v2026.06.15) |
| Aug 23, 2026 | 69.51% (0.69506) | 99.33th | v5 (v2026.06.15) |
| Jun 15, 2026 | 80.26% (0.80259) | 99.57th | v5 (v2026.06.15) |
| Mar 28, 2026 | 89.19% (0.89192) | 99.53th | v4 (v2025.03.14) |
| Mar 4, 2026 | 87.61% (0.87610) | 99.45th | v4 (v2025.03.14) |
| Mar 1, 2026 | 71.42% (0.71421) | 98.71th | v4 (v2025.03.14) |
| Feb 4, 2026 | 87.61% (0.87610) | 99.45th | v4 (v2025.03.14) |
| Feb 1, 2026 | 71.42% (0.71421) | 98.69th | v4 (v2025.03.14) |
| Jan 4, 2026 | 87.61% (0.87610) | 99.44th | v4 (v2025.03.14) |
| Jan 1, 2026 | 71.42% (0.71421) | 98.68th | v4 (v2025.03.14) |
| Dec 28, 2025 | 87.74% (0.87742) | 99.44th | v4 (v2025.03.14) |
| Dec 27, 2025 | 83.41% (0.83410) | 99.24th | v4 (v2025.03.14) |
| Dec 4, 2025 | 87.61% (0.87610) | 99.43th | v4 (v2025.03.14) |
| Dec 1, 2025 | 71.42% (0.71421) | 98.66th | v4 (v2025.03.14) |
| Nov 21, 2025 | 87.61% (0.87610) | 99.42th | v4 (v2025.03.14) |
| Nov 18, 2025 | 10.87% (0.10872) | 92.66th | v4 (v2025.03.14) |
| Nov 4, 2025 | 89.19% (0.89192) | 99.51th | v4 (v2025.03.14) |
| Nov 1, 2025 | 76.19% (0.76187) | 98.88th | v4 (v2025.03.14) |
| Oct 28, 2025 | 89.19% (0.89192) | 99.51th | v4 (v2025.03.14) |
| Oct 27, 2025 | 85.78% (0.85775) | 99.33th | v4 (v2025.03.14) |
| Oct 4, 2025 | 89.19% (0.89192) | 99.51th | v4 (v2025.03.14) |
| Oct 1, 2025 | 76.19% (0.76187) | 98.89th | v4 (v2025.03.14) |
| Sep 4, 2025 | 85.78% (0.85775) | 99.34th | v4 (v2025.03.14) |
| Sep 1, 2025 | 63.25% (0.63250) | 98.35th | v4 (v2025.03.14) |
| Aug 5, 2025 | 85.78% (0.85775) | 99.33th | v4 (v2025.03.14) |
| Aug 1, 2025 | 63.25% (0.63250) | 98.33th | v4 (v2025.03.14) |
| Jul 30, 2025 | 85.78% (0.85775) | 99.33th | v4 (v2025.03.14) |
| Jul 4, 2025 | 89.19% (0.89192) | 99.50th | v4 (v2025.03.14) |
| Jul 1, 2025 | 76.19% (0.76187) | 98.87th | v4 (v2025.03.14) |
| Jun 24, 2025 | 89.19% (0.89192) | 99.50th | v4 (v2025.03.14) |
| Jun 21, 2025 | 76.19% (0.76187) | 98.86th | v4 (v2025.03.14) |
| Jun 7, 2025 | 89.19% (0.89192) | 99.50th | v4 (v2025.03.14) |
| Jun 1, 2025 | 76.19% (0.76187) | 98.86th | v4 (v2025.03.14) |
| May 30, 2025 | 89.19% (0.89192) | 99.50th | v4 (v2025.03.14) |
| May 4, 2025 | 87.13% (0.87127) | 99.39th | v4 (v2025.03.14) |
| May 1, 2025 | 74.31% (0.74314) | 98.76th | v4 (v2025.03.14) |
| Apr 9, 2025 | 87.13% (0.87127) | 99.41th | v4 (v2025.03.14) |
| Apr 8, 2025 | 74.31% (0.74314) | 98.77th | v4 (v2025.03.14) |
| Apr 6, 2025 | 87.13% (0.87127) | 99.41th | v4 (v2025.03.14) |
| Apr 4, 2025 | 74.31% (0.74314) | 98.77th | v4 (v2025.03.14) |
| Apr 1, 2025 | 87.13% (0.87127) | 99.41th | v4 (v2025.03.14) |
| Mar 31, 2025 | 74.31% (0.74314) | 98.76th | v4 (v2025.03.14) |
| Mar 30, 2025 | 87.13% (0.87127) | 99.40th | v4 (v2025.03.14) |
| Mar 29, 2025 | 82.46% (0.82462) | 99.02th | v4 (v2025.03.14) |
| Mar 28, 2025 | 87.13% (0.87127) | 99.40th | v4 (v2025.03.14) |
| Mar 27, 2025 | 74.31% (0.74314) | 98.73th | v4 (v2025.03.14) |
| Mar 23, 2025 | 87.27% (0.87269) | 99.41th | v4 (v2025.03.14) |
| Mar 22, 2025 | 74.67% (0.74675) | 98.82th | v4 (v2025.03.14) |
| Mar 17, 2025 | 87.27% (0.87269) | 99.41th | v4 (v2025.03.14) |
| Dec 17, 2024 | 20.07% (0.20073) | 96.34th | v3 (v2023.03.01) |
| Apr 21, 2024 | 62.05% (0.62046) | 97.78th | v3 (v2023.03.01) |
| Aug 12, 2023 | 74.08% (0.74077) | 97.70th | v3 (v2023.03.01) |
| Jul 19, 2023 | 78.88% (0.78876) | 97.81th | v3 (v2023.03.01) |
| Jun 9, 2023 | 82.40% (0.82403) | 97.90th | v3 (v2023.03.01) |
| May 8, 2023 | 88.03% (0.88033) | 98.12th | v3 (v2023.03.01) |
| Mar 7, 2023 | 83.83% (0.83828) | 97.84th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.88% (0.02880) | 63.65th | v1 |
| Jan 6, 2022 | 2.88% (0.02880) | 63.31th | v1 |
| Sep 1, 2021 | 2.88% (0.02880) | 80.71th | v1 |
| Apr 14, 2021 | 2.88% (0.02880) | 0.00th | v1 |
References (17)
- http://php.net/ChangeLog-5.php x_refsource_CONFIRMRelease NotesVendor Advisory
- http://php.net/ChangeLog-7.php x_refsource_CONFIRMRelease NotesVendor Advisory
- http://www.securityfocus.com/bid/102742 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/104020 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1040363 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:1296 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2519 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-5712 Vendor Advisory
- https://bugs.php.net/bug.php?id=74782 x_refsource_CONFIRMIssue TrackingPatchVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1535251 Issue Tracking
- https://lists.debian.org/debian-lts-announce/2018/01/msg00025.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-5712
- https://usn.ubuntu.com/3566-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3600-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3600-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-5712
- https://www.oracle.com/security-alerts/cpuapr2020.html x_refsource_MISC
Change history (0)
No recorded changes yet.