CVE-2026-124977
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in, but needs a user to act. Limited direct impact.
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: not scored yet.
- Severity: 6.1 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Deferred
Affected
- Wpdesk Flexible PDF Invoices For WooCommerce & WordPress ≤ 7.1.2
Attack profile CVSS 3.1 · 6.1
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-124977.md and follow it. Check whether this project is affected by CVE-2026-124977. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- https://plugins.trac.wordpress.org/browser/flexible-invoices/tags/7.1.2/vendor_prefixed/wpdesk/flexible-invoices-core/assets-src/js/admin.js#L81
- https://plugins.trac.wordpress.org/browser/flexible-invoices/tags/7.1.2/vendor_prefixed/wpdesk/flexible-invoices-core/assets/js/admin.js
- https://plugins.trac.wordpress.org/browser/flexible-invoices/tags/7.1.2/vendor_prefixed/wpdesk/flexible-invoices-core/templates/invoice_edit/meta-box/customer.php#L136
- https://plugins.trac.wordpress.org/changeset/3804918/flexible-invoices/tags/7.1.3
- https://www.wordfence.com/threat-intel/vulnerabilities/id/556b38fd-631b-4900-b5d9-65abcc526892?source=cve