QID 150484

Date Published: 2022-03-14

QID 150484: WordPress WooCommerce PDF Invoices and Packing Slips Plugin: Reflected Cross-Site Scripting Vulnerability (CVE-2021-24991)

WooCommerce PDF Invoice and Packing Slips is a WooCommerce extension plugin that automatically adds a PDF invoice to the order confirmation emails sent out to your customers.

The plugin does not escape the tab and section parameters before outputting it back in an attribute, leading to a Reflected Cross-Site Scripting in the admin dashboard.

Affected versions:
WooCommerce PDF Invoice and Packing Slips prior to 2.10.5

QID Detection Logic :
This QID sends an HTTP GET request and retrieves a vulnerable version of a 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 Medium - 4.8 severity.
  • CVSS V2 rated as Medium - 3.5 severity.
  • Solution
    Customers are advised to upgrade to WooCommerce PDF Invoice and Packing Slips 2.10.5 or later version to remediate this vulnerability. For more information regarding this vulnerability please refer WPScan Advisory.

    CVEs related to QID 150484

    Software Advisories
    Advisory ID Software Component Link
    WooCommerce PDF Invoices & Packing Slips URL Logo wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/