CVE-2026-124977
The Flexible PDF Invoices for WooCommerce & WordPress plugin for …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/browser/flexible-invoices/tags/7.1.2/vendor_prefixed/wpdesk/fle
- plugins.trac.wordpress.org/browser/flexible-invoices/tags/7.1.2/vendor_prefixed/wpdesk/fle
- plugins.trac.wordpress.org/browser/flexible-invoices/tags/7.1.2/vendor_prefixed/wpdesk/fle
- plugins.trac.wordpress.org/changeset/3804918/flexible-invoices/tags/7.1.3
- www.wordfence.com/threat-intel/vulnerabilities/id/556b38fd-631b-4900-b5d9-65abcc526892?sou
- nvd.nist.gov/vuln/detail/CVE-2026-124977
- cve.org/CVERecord?id=CVE-2026-124977
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.