CVE Professor
/
All CVEs
CVE-2026-140027

CVE-2026-140027 — CWE-79

MEDIUM CVSS 4.9 NVD

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.

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.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Changed S:C
Confidentiality Low C:L
Integrity Low I:L
Availability None A:N
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-140027
CVSS 4.9/10 · MEDIUM · 05.12.2026
CWE: CWE-79
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Cross-Site Scripting (XSS)
Summary: 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…

⚡ ATTACK VECTOR
Network / Remote (AV:N) · low-privilege account (PR:L) · no user interaction (UI:N).
⚠️ Scope changes (S:C) — impact can cross security boundaries.

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; limited integrity modification (I:L); pivot to other systems possible.

🛡️ REMEDIATION
→ Apply the vendor-released patch immediately.
→ Add CSP headers, HTML-encode all user input.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="WordPress" && body="/wp-content/plugins/wc-apg-nif-cif-nie-field"
CVSS Score
4.9 / 10 · CVSS MEDIUM
Weakness Types (CWE)
Related CVEs
7.2
CVE-2026-116760
The The Plus Addons for Elementor – Mega Menu, Header Footer, Post Grid, AI Widgets & Templates plugin for W
7.2
CVE-2026-129138
The Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder plugin for WordPr
6.5
CVE-2026-144035
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in A.H.C. W
6.5
CVE-2026-125772
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in VillaThe
6.5
CVE-2026-128324
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Melapres
6.5
CVE-2026-130645
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ILLID Ad
6.5
CVE-2026-131735
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in HTMega H