CVE-2026-124977 PUBLISHED

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

Assigner: Wordfence
Reserved: 09.11.2026 Published: 18.11.2026 Updated: 18.11.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS Score: 6.1

Product Status

Vendor wpdesk
Product Flexible PDF Invoices for WooCommerce & WordPress
Versions Default: unaffected
  • affected from 0 to 7.1.2 (incl.)

Credits

  • Kuba finder

References

Problem Types

  • CWE-79 Improper Neutralization of Input During Web Page Generation CWE