QID 150543

Date Published: 2022-07-07

QID 150543: WordPress Smush Plugin : Reflected Cross-Site Scripting (XSS) Vulnerability (CVE-2022-1009)

Smush is a WordPress plugin that allows users to optimize images without losing quality. It's ease of usage and image optimization capability on the fly makes the site load faster.

Affected versions of Smush do not sanitize and escape a configuration parameter before outputting it back in an admin page when uploading a malicious preset configuration, leading to a Reflected Cross-Site Scripting attack.

Affected Versions:
WordPress Smush Plugin prior to 3.9.9

QID Detection Logic:
This QID sends a HTTP GET request and checks for vulnerable version of WordPress plugin running on the target application.

Successful exploitation could allow an attacker to execute arbitrary JavaScript code in the context of the interface or allow the attacker to access sensitive, browser-based information.

  • CVSS V3 rated as High - 6.1 severity.
  • CVSS V2 rated as Medium - 4.3 severity.
  • Solution
    Customers are advised to upgrade to Smush 3.9.9 or later version to remediate this vulnerability. For more information regarding this vulnerability please refer WPScan Advisory

    CVEs related to QID 150543

    Software Advisories
    Advisory ID Software Component Link
    WordPress Smush Plugin URL Logo wordpress.org/plugins/wp-smushit/