CVE-2026-140027

medium
Assigned by CNA: wordfence
Published 2026-12-05 · Modified 2026-12-05
CVSS v3
4.9
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
CVSS v4 NEW
—
not yet in upstream
VIR risk
4.9

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.

Predictions

Exploit likelihood
59%
Patch ETA
—

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.

Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Application impact

VendorProductVersionsFixed
artprojectgroupwc_apg_nif_cif_nie_field{"endIncluding":"4.18.1"}

References

CWEs

CWE-79

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.