CWE
79
Advisory Published
CVE Published
Updated

CVE-2018-10547: XSS

First published: Thu Apr 26 2018(Updated: )

An issue was discovered in ext/phar/phar_object.c in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. There is Reflected XSS on the PHAR 403 and 404 error pages via request data of a request for a .phar file. NOTE: this vulnerability exists because of an incomplete fix for <a href="https://access.redhat.com/security/cve/CVE-2018-5712">CVE-2018-5712</a>. Upstream bug: <a href="https://bugs.php.net/bug.php?id=76129">https://bugs.php.net/bug.php?id=76129</a> Upstream patch: <a href="https://git.php.net/?p=php-src.git;a=commit;h=6e64aba47f4e41d97c4d010024c68320c0855f45">https://git.php.net/?p=php-src.git;a=commit;h=6e64aba47f4e41d97c4d010024c68320c0855f45</a>

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/php<0:5.4.16-48.el7
0:5.4.16-48.el7
redhat/rh-php71-php<0:7.1.30-1.el7
0:7.1.30-1.el7
debian/php5
debian/php7.0
debian/php7.1
redhat/php<5.6.36
5.6.36
redhat/php<7.0.30
7.0.30
redhat/php<7.1.17
7.1.17
redhat/php<7.2.5
7.2.5
PHP<7.0.30
7.0.30
PHP<5.6.36
PHP>=7.0.0<7.0.30
PHP>=7.1.0<7.1.17
PHP>=7.2.0<7.2.5
Ubuntu=12.04
Ubuntu=14.04
Ubuntu=16.04
Ubuntu=17.10
Ubuntu=18.04
Debian Linux=7.0
Debian Linux=8.0
Debian Linux=9.0
NetApp Storage Automation Store

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2018-10547?

    CVE-2018-10547 has a medium severity rating due to the potential for reflected XSS attacks.

  • How do I fix CVE-2018-10547?

    To fix CVE-2018-10547, upgrade to PHP versions 5.6.36, 7.0.30, 7.1.17, or 7.2.5 or later.

  • Which versions of PHP are affected by CVE-2018-10547?

    CVE-2018-10547 affects PHP versions before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5.

  • What type of vulnerability is CVE-2018-10547?

    CVE-2018-10547 is categorized as a reflected cross-site scripting (XSS) vulnerability.

  • Is CVE-2018-10547 a critical vulnerability?

    CVE-2018-10547 is not categorized as critical, but it poses risks that should be addressed promptly.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203