CVE-2026-140027: WC <= 4.18.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'billing_nif' Classic-Checkout Field

Published Dec 5, 2026
·
Updated

The WC – APG NIF/CIF/NIE Field plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'billingnif (classic checkout) → persisted as user meta billingnif/shippingnif' parameter in all versions up to, and including, 4.18.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires the store to use the classic [woocommercecheckout] shortcode and the attacker to place two orders: a classic-checkout order to lodge the crafted payload in user meta, followed by a Store API checkout (POST /wp-json/wc/store/v1/checkout) that omits the apg/nif field, causing WooCommerce to seed it from the unescaped default-value filter and persist it as order meta.

Affected Software

0 affected components

Event History

Dec 5, 2026
CVE Published
via MITRE·08:28 AM
Data Sourced
via MITRE·08:28 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which sites are exposed to this issue?

Sites using the WC – APG NIF/CIF/NIE Field plugin through version 4.18.1 are exposed only if their store uses the classic [woocommerce_checkout] shortcode. The exploit chain also requires a Store API checkout endpoint.

2

What access and actions does an attacker need?

An attacker needs an authenticated WordPress account with at least subscriber-level access. They must place two orders: one through classic checkout to store a crafted value in user meta, then one through POST /wp-json/wc/store/v1/checkout without the apg/nif field to persist the value as order meta.

3

What is the impact of successful exploitation?

The attacker can store arbitrary web script that executes when a user visits a page containing the injected content. The reported impact includes low confidentiality and integrity impact, with no availability impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203