CVE-2026-124977

Flexible PDF Invoices for WooCommerce & WordPress <= 7.1.2 - Unauthenticated Stored Cross-Site Scripting via Billing Field

Published Nov 18, 2026 CVSS 3.1 · 6.1 Medium EPSS n/a KEV · Not listed
Description
The Flexible PDF Invoices for WooCommerce & WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'billing_address.first_name / extensions.wpdesk-flexible-invoices-checkout._billing_vat_number' parameter in all versions up to, and including, 7.1.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Execution requires an administrator to open the invoice edit page for the attacker's order and interact with (e.g., type into or trigger a change/keyup event on) a field in the customer metabox, at which point the payload stored in billing fields such as first_name or _billing_vat_number is decoded from its entity-escaped input value and passed unsanitized to jQuery .html(). Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.

Analysis

AI-generated

Technical impact

The vulnerability is a stored XSS flaw introduced by the Flexible PDF Invoices for WooCommerce & WordPress plugin. The plugin fails to sanitize or escape input from the billing address fields, specifically first_name and _billing_vat_number, which are later inserted unsanitized into a jQuery .html() call in the admin invoice edit view. An unauthenticated attacker can inject a malicious payload by creating an order that contains the malformed data. When a logged‑in administrator later opens the edit page for the affected order and interacts with a field in the customer meta‑box, the payload is decoded and executed in the administrator’s browser. The impact is that the attacker can run arbitrary JavaScript in the context of an administrator, potentially harvesting credentials, defacing the site, or executing further attacks.

Affected Systems

Affected are all installations of the wpdesk Flexible PDF Invoices for WooCommerce & WordPress plugin up to and including version 7.1.2. The vulnerability exists in the plugin code that manages billing information for invoice editing in a WordPress environment. Any site that runs this plugin version and allows order creation with unauthenticated users is potentially vulnerable.

Risk and Exploitability

The CVSS score of 6.1 indicates a moderate severity, and the EPSS score is not available but the issue is not listed in CISA’s KEV catalog, suggesting it is not a widely exploited vulnerability yet. Exploitation requires an attacker to inject the payload via the public order flow and then wait for a privileged admin to open and interact with the invoice edit page. The attack vector is thus limited to initial public injection plus a subsequent internal action, reducing the likelihood of widespread automated exploitation. Nevertheless, because the payload runs with administrator privileges, a successful exploitation can lead to information disclosure, credential theft, or site compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Flexible PDF Invoices for WooCommerce & WordPress to version 7.1.3 or later, which removes the unsanitized output from the invoice edit page.
  • After upgrading, verify that all billing fields are rendered using proper HTML escaping functions and that the jQuery .html() method is only used with sanitized data. If the plugin does not perform this task, consider adding a server‑side filter to encode all output before sending it to the browser.
  • Restrict administrator access to the WordPress backend and monitor invoice editing activity for abnormal script insertions. Use strong role permissions and rotate admin passwords to reduce the window of opportunity for an attacker to exploit the vulnerability.

Generated by OpenCVE AI on November 18, 2026 at 17:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions flexible Pdf Invoices For Woocommerce & Wordpress
Wpdesk
Wpdesk flexible Pdf Invoices For Woocommerce & Wordpress
Vendors & Products Wordpress-extensions
Wordpress-extensions flexible Pdf Invoices For Woocommerce & Wordpress
Wpdesk
Wpdesk flexible Pdf Invoices For Woocommerce & Wordpress
Type Values Removed Values Added
Description The Flexible PDF Invoices for WooCommerce & WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'billing_address.first_name / extensions.wpdesk-flexible-invoices-checkout._billing_vat_number' parameter in all versions up to, and including, 7.1.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Execution requires an administrator to open the invoice edit page for the attacker's order and interact with (e.g., type into or trigger a change/keyup event on) a field in the customer metabox, at which point the payload stored in billing fields such as first_name or _billing_vat_number is decoded from its entity-escaped input value and passed unsanitized to jQuery .html(). Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Title Flexible PDF Invoices for WooCommerce & WordPress <= 7.1.2 - Unauthenticated Stored Cross-Site Scripting via Billing Field
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 18, 2026, 3:30 PM
Reserved
Nov 9, 2026, 3:18 PM
Status
Deferred
Published
Nov 18, 2026, 12:17 PM
Modified
Nov 18, 2026, 4:18 PM