CVE-2026-140027
Deferred Deferred - Pending Action

Stored XSS in WC – APG NIF/CIF/NIE Field WordPress Plugin

Vulnerability report for CVE-2026-140027, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-05

Last updated on: 2026-12-05

Assigner: Wordfence

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-05
Last Modified
2026-12-05
Generated
2026-12-06
AI Q&A
2026-12-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
artprojectgroup WC – APG NIF/CIF/NIE Field From 0 (inc) to 4.18.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Stored Cross-Site Scripting (XSS) vulnerability in the WC – APG NIF/CIF/NIE Field WordPress plugin up to version 4.18.1. It allows authenticated attackers with subscriber-level access or higher to inject malicious scripts via the billing_nif parameter during classic checkout. The payload is stored in user meta and later executed when a user accesses an affected page.

Detection Guidance

Check WordPress sites using the WC – APG NIF/CIF/NIE Field plugin up to version 4.18.1 for stored XSS via the billing_nif or shipping_nif parameters. Inspect user meta and order meta for malicious scripts in pages using the classic [woocommerce_checkout] shortcode.

Impact Analysis

An attacker could steal sensitive user data like cookies or session tokens, deface websites, or redirect users to malicious sites. It requires the store to use the classic WooCommerce checkout shortcode and for the attacker to place two orders to exploit.

Compliance Impact

This vulnerability could lead to unauthorized access to personal data, violating GDPR and HIPAA requirements for data protection and confidentiality. Organizations may face compliance violations, fines, or legal consequences if exploited.

Mitigation Strategies

Update the WC – APG NIF/CIF/NIE Field plugin to the latest version beyond 4.18.1. Remove the classic [woocommerce_checkout] shortcode if not required. Monitor for unauthorized script injections in user and order meta.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-140027. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...