WC – APG NIF/CIF/NIE Field に脆弱性 — CVE-2026-140027
いま何をすべきか
WC – APG NIF/CIF/NIE Field を 5.0.0 以降に更新してください。
影響を受けるバージョン
- 4.18.1 以下のすべて
対象: プラグイン「WC – APG NIF/CIF/NIE Field」(wc-apg-nifcifnie-field)
何が起きるのか
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.
ここから先の選択肢
1. 自分たちで対応する
更新の手順、バックアップの取り方、壊れたときの戻し方をまとめています。
2. いまの制作会社・保守業者に頼む
WC – APG NIF/CIF/NIE Field を使っているかどうかを含めて確認を依頼してください。 無料診断を実行すると、そのまま渡せる依頼文を作れます。
3. 相談先がない・自分では難しい
連絡が取れる相手がいない、管理画面に入れない、侵入された疑いがある。 そうした場合はご相談ください。
出典
- https://plugins.trac.wordpress.org/browser/wc-apg-nifcifnie-field/tags/4.18.1/includes/clases/pedido.php#L374
- https://plugins.trac.wordpress.org/browser/wc-apg-nifcifnie-field/tags/4.18.1/includes/clases/pedido.php#L581
- https://plugins.trac.wordpress.org/browser/wc-apg-nifcifnie-field/tags/4.18.1/includes/clases/pedido.php#L665
- https://plugins.trac.wordpress.org/browser/wc-apg-nifcifnie-field/tags/4.18.1/includes/clases/pedido.php#L758
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3843962%40wc-apg-nifcifnie-field&new=3843962%40wc-apg-nifcifnie-field
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f45c77c6-b73c-41eb-b433-6646d70c01dd?source=cve