CVE-2026-124977
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.
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
Timeline
- 2026-11-18Published by the CNA11:30 UTC
- 2026-11-18Published in NVD12:17 UTC · 46 minutes after the CNA
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| wpdesk flexible_pdf_invoices_for_woocommerce_&_wordpress | from 0 through 7.1.2no fix listed | not listed |
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
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-124977'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-124977'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-124977'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-124977'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).