CVE-2026-124977
published medium CVSS 3.1 · 6.1Flexible PDF Invoices for WooCommerce & WordPress <= 7.1.2 - Unauthenticated Stored Cross-Site Scripting via Billing Field
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wpdesk | — | Flexible PDF Invoices for WooCommerce & WordPress0 through 7.1.2 · Other versions: unaffected | Affected | Not stated | Wordfence |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wpdesk | Flexible PDF Invoices for WooCommerce & WordPress | 0 through 7.1.2 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation
References
5- 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
Provider assertions
2Wordfence · cna
Flexible PDF Invoices for WooCommerce & WordPress <= 7.1.2 - Unauthenticated Stored Cross-Site Scripting via Billing Field
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9e99bc3165b050dbe5487f313fe479f08e2178960433151f68eb5bd4b4dd08f8
- Ingested
- 18 Nov 2026, 15:34:07 UTC
- Source record
- Official CVE record