{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-140027","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","state":"PUBLISHED","assignerShortName":"Wordfence","dateReserved":"2026-11-30T18:07:40.481Z","datePublished":"2026-12-05T08:28:33.502Z","dateUpdated":"2026-12-05T14:40:41.615Z"},"containers":{"cna":{"providerMetadata":{"orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","shortName":"Wordfence","dateUpdated":"2026-12-05T08:28:33.502Z"},"affected":[{"vendor":"artprojectgroup","product":"WC – APG NIF/CIF/NIE Field","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.18.1","versionType":"semver"}],"defaultStatus":"unaffected"}],"descriptions":[{"lang":"en","value":"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","references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/f45c77c6-b73c-41eb-b433-6646d70c01dd?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/wc-apg-nifcifnie-field/tags/4.18.1/includes/clases/pedido.php#L758"},{"url":"https://plugins.trac.wordpress.org/browser/wc-apg-nifcifnie-field/tags/4.18.1/includes/clases/pedido.php#L374"},{"url":"https://plugins.trac.wordpress.org/browser/wc-apg-nifcifnie-field/tags/4.18.1/includes/clases/pedido.php#L665"},{"url":"https://plugins.trac.wordpress.org/browser/wc-apg-nifcifnie-field/tags/4.18.1/includes/clases/pedido.php#L581"},{"url":"https://plugins.trac.wordpress.org/changeset?reponame=&old=3843962%40wc-apg-nifcifnie-field&new=3843962%40wc-apg-nifcifnie-field"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation","cweId":"CWE-79","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","baseScore":4.9,"baseSeverity":"MEDIUM"}}],"credits":[{"lang":"en","type":"finder","value":"Mohamed Amgad Khater (mamgad)"}],"timeline":[{"time":"2026-12-04T08:11:08.000Z","lang":"en","value":"Vendor Notified"},{"time":"2026-12-04T00:00:00.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-12-05T14:33:30.447801Z","id":"CVE-2026-140027","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-12-05T14:40:41.615Z"}}]}}