Description
The WC – APG NIF/CIF/NIE Field plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'billing_nif (classic checkout) → persisted as user meta billing_nif/shipping_nif' 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 [woocommerce_checkout] 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.
Published: 2026-12-05
Score: 4.9 Medium
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No solution or workaround provided in the CVE record.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 05 Dec 2026 08:45:00 +0000

Type Values Removed Values Added
Description The WC – APG NIF/CIF/NIE Field plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'billing_nif (classic checkout) → persisted as user meta billing_nif/shipping_nif' 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 [woocommerce_checkout] 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.
Title WC <= 4.18.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'billing_nif' Classic-Checkout Field
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-12-05T08:28:33.502Z

Reserved: 2026-11-30T18:07:40.481Z

Link: CVE-2026-140027

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses