WC – APG NIF/CIF/NIE Field

WC – APG NIF/CIF/NIE Field has one disclosed vulnerability in the WordSec catalog, all reported in 2026; it is fixed as of December 2026. Their average CVSS score is 4.9, and the most serious one scores 4.9 out of 10.

The most common weakness is Improper Neutralization Of Input During Web Page Generation, behind 1 of the records (100%).

The one issue recorded for WC – APG NIF/CIF/NIE Field has a vendor fix available, so running the current release closes it.

All of these findings were reported by Mohamed Amgad Khater (mamgad). WC – APG NIF/CIF/NIE Field is installed on roughly 10,000 WordPress sites, so each unpatched flaw has a wide blast radius. The current release is tested up to WordPress 7.2.

Strategic Overview

Avg CVSSMedium
4.9/ 10
Patch Coverage100%
Open

0

Fixed

1

Get automatic notifications for all WC – APG NIF/CIF/NIE Field vulnerabilities before they are exploited.

Highest severity on recordCVSS 4.9CVE-2026-140027

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

Read the full analysis

Vulnerability Records

1 records
WC – APG NIF/CIF/NIE Field banner
Latestv5.0.1

WC – APG NIF/CIF/NIE Field

Art Project Group

Author

Art Project Group

4.8(23)
96/100
Last Updated
2026-12-04 (17h ago)
Active Installs
10,000+
Downloads
417,260
Requires WP
5.0+
Requires PHP
7.4+
Tested up to
WP 7.2
Created
2016-08-12 (11y ago)
Requires Plugins
woocommerce

WC – APG NIF/CIF/NIE Field adds to your WooCommerce store a new NIF/CIF/NIE field in all billing and shipping forms, available to both the administrator and the customer. Requirements: the plugin needs WooCommerce 2.4.0 or higher and the SoapClient PHP class for VIES/EORI validation. Features Fully compatible with the Checkout block of the WordPress block editor. You can require the NIF/CIF/NIE field in the billing form. You can require the NIF/CIF/NIE field in the billing form only from a given order amount. You can require the NIF/CIF/NIE field in the shipping form. You can hide the NIF/CIF/NIE field from the shipping form. You can customize the priority (position) of the field. You can validate the NIF/CIF/NIE field. You can validate the VIES VAT number field to apply a tax exemption. You can choose whether the VAT exemption follows the billing country or the address WooCommerce uses to calculate taxes. Tax data check: a tab in the plugin settings that reviews your orders and tells you what each one lacks to issue a full invoice (tax number, name or company name, address, VAT breakdown and gaps in the invoice numbering), without issuing or changing anything. You can validate the EORI field to prevent the sale if a valid number is not entered. You can select the country(ies) where the EORI field will be validated. You can customize the label and placeholder of the NIF/CIF/NIE, VIES VAT number or EORI field. You can customize the error message of the field NIF/CIF/NIE, VIES VAT number or EORI. You can customize the error message if the maximum number of requests to the VIES VAT number verification API is exceeded. Add and require phone and email fields in the shipping form. You can remove the phone and email fields from the default address. You can display and customize an error message for the billing form using the apg_nif_display_error_message and apg_nif_error_message filters. You can remove the Email and Phone fields from the submission form with the apg_nif_add_fields filter. You can skip validation by country or external condition with the apg_nif_skip_validation filter. You can override the required status for billing or shipping with the apg_nif_skip_required filter. You can change the order amount compared against the configured threshold with the apg_nif_importe_del_pedido filter. You can limit how many VIES/EORI lookups a single IP can trigger per minute with the apg_nif_maximo_consultas_por_minuto filter (off by default). You can add other invoicing plugins to the tax data check with the apg_nif_claves_numero_factura filter, and change how many orders it reviews at once with apg_nif_comprobador_maximo. You can check that the number exists in the official business register of Norway, Switzerland, Thailand, Singapore, Israel, Colombia, France, Czechia and Finland, and add other registers with the apg_nif_registros filter. When VIES does not answer, you can choose to charge VAT or to apply the exemption and check the number again every hour, with a note in the order and an email if it turns out not to be valid. You can answer instead of VIES (another lookup service, or tests) with the apg_nif_vies_pre_consulta filter, change the review period with apg_nif_vies_plazo_revision and who gets the warning email with apg_nif_vies_destinatario_aviso. Adds a customer download button in WooCommerce (Customers) that includes the NIF/CIF/NIE field in the CSV. Each identifier is checked with the official algorithm of its country, not just its shape. It validates documents from: Albania. Andorra. Austria. Argentina. Åland Islands. Brazil. Belgium. Bulgaria. Belarus. Switzerland. Chile. Colombia. Cyprus. Czech Republic. Germany. Denmark. Estonia. Spain. European Union. Finland. Faroe Islands. France. Great Britain. Greece. Croatia. Hungary. Ireland. Iceland. Italy. Liechtenstein. Lithuania. Luxembourg. Latvia. Monaco. Moldova. Montenegro. North Macedonia. Northern Ireland. Malta. Mexico. Netherlands. Peru. Norway. Poland. Portugal. Romania. Serbia. Sweden. Slovenia. Slovak Republic. San Marino. Ukraine. Uruguay. Australia. Azerbaijan. Canada. China. Ecuador. Egypt. Ghana. Guatemala. Israel. India. Japan. Kenya. South Korea. Morocco. New Zealand. Pakistan. Paraguay. Russia. Singapore. El Salvador. Thailand. Tunisia. Turkey. Taiwan. Venezuela. Vietnam. South Africa. 100% compatible with WooCommerce PDF Invoices & Packing Slips. 100% compatible with WPML. 100% compatible with Checkout Field Editor (Checkout Manager) for WooCommerce Contextual help on the settings page, explaining every setting without leaving the screen. Translations English: by Art Project Group (default language). Spanish: by Art Project Group. More information You can learn more about WC – APG NIF/CIF/NIE Field on our official website, and follow the development on GitHub. You can also read the full documentation, with every setting explained one by one. Or try it right now in the live demo: a complete WordPress that opens in your own browser, with the plugin already installed and set up. Thanks Thanks to everyone who uses the plugin, helps improve it, makes a donation or encourages us with their comments. If you find this plugin useful, you can support its development with a small donation. External Services To the WordPress.org Plugins API to fetch plugin information. It sends the plugin slug when requesting data. More information: https://wordpress.org/about/privacy/ To the European Commission VAT number validation API (VIES) and EORI number validation API. It sends the country and VAT number — VIES validation —. It sends the EORI number. More information: https://commission.europa.eu/privacy-policy-websites-managed-european-commission_es To the UK Government EORI number validation API. It sends the EORI number. More information: https://www.gov.uk/help/privacy-notice To the official business registers of Norway (Brønnøysund Register Centre), Switzerland (UID register of the Federal Statistical Office) and Thailand (Revenue Department), to check numbers from those countries: as EORI numbers, and as tax numbers when “Check in official registers?” is ticked. It sends the business or tax number, without the customer’s name or address. More information: https://data.brreg.no/enhetsregisteret/api/dokumentasjon/en/index.html, https://www.uid.admin.ch/ and https://www.rd.go.th/42535.html To the open data portals of Singapore (data.gov.sg), Israel (data.gov.il) and Colombia (datos.gov.co), to check business numbers from those countries when “Check in official registers?” is ticked. It sends the business number, without the customer’s name or address. Contains information from the ACRA entities dataset accessed from data.gov.sg, made available under the terms of the Singapore Open Data Licence version 1.0: https://data.gov.sg/open-data-licence Contains information from the Registrar of Companies of the Israeli Ministry of Justice, published at data.gov.il: https://data.gov.il/ Contains data from the RUES (Confecámaras) published at datos.gov.co under the CC BY-SA 4.0 licence: https://www.datos.gov.co/ To the official business registers of France (Recherche d’entreprises API of the French government, on the INSEE SIRENE register), Czechia (ARES, Ministry of Finance) and Finland (open data of the Finnish Patent and Registration Office), to check business numbers from those countries when “Check in official registers?” is ticked. It sends the business number, without the customer’s name or address. More information: https://recherche-entreprises.api.gouv.fr/, https://ares.gov.cz/ and https://avoindata.prh.fi/

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C