Critical WooCommerce Flaw CVE-2022-50972: Act Now
Any WooCommerce store running a version below 7.1.0 is currently exposed to a vulnerability with no available fix. An attacker who successfully exploits
A PCI DSS certificate on the wall does not mean your WooCommerce checkout is secure. It means you have met a minimum standard for handling cardholder
A PCI DSS certificate on the wall does not mean your WooCommerce checkout is secure. It means you have met a minimum standard for handling cardholder data, and confusing those two things is one of the more expensive mistakes a store owner can make.
PCI DSS is a practical security framework covering cardholder data, payment pages, user access, malware, logging, and the systems that keep a store running. That scope sounds broad, but in practice, compliance audits focus on what happens to card data once a customer submits it. They do not audit whether your WordPress admin password is “admin123”, whether your theme has been quietly modified, or whether a third-party script loaded on your checkout page is doing something it should not.
The payment processor handles what happens to card data in transit and at rest. Tokenisation replaces actual card numbers with tokens for processing and storage, which reduces exposure in a breach significantly. The problem is that attackers do not always target the payment processor. They target the website that sits in front of it.
If an attacker gains access to your WordPress site before a customer reaches the payment stage, the compliance certificate becomes irrelevant. At that point, they can inject malicious JavaScript into your checkout page, redirect customers to a convincing fake payment form, steal login credentials, or tamper with the content a customer sees. Ecommerce security must cover the website itself, because the attack surface begins the moment a visitor lands on your domain, well before the payment provider is involved.
WooCommerce stores are a specific target because the platform is widely used and the checkout flow is predictable. An attacker who knows WooCommerce knows that the checkout page loads wc-checkout.js, that order data passes through woocommerce_checkout_process, and that the woocommerce_payment_complete hook fires in a consistent sequence. That predictability makes automated attacks easier to run at scale, and a store that passed its PCI audit last quarter can have a skimmer running on its checkout page today without the compliance certificate detecting it.
The access point is usually mundane: a plugin with an unpatched vulnerability, an admin account with a weak password and no two-factor authentication, or a file manager plugin left active after a developer finished a project. None of these appear on a PCI compliance checklist, but any one of them can give an attacker administrative access to every page on the site, including checkout. At a minimum, a store needs anti-virus scanning, a firewall, encryption, and active data protection measures in place — compliance documentation does not substitute for those controls being operational and monitored.
Chargebacks are the most visible cost of a breach, and they compound quickly when fraudulent orders have already shipped. Card scheme fines follow, applied regardless of whether the store held a valid compliance certificate at the time. Then there is the reputational damage: customers who experience fraud on a purchase rarely return, and they do tell people. The financial case for taking this seriously goes well beyond the obvious.
First-party fraud adds a separate layer of exposure. It now accounts for around 36% of all reported fraud, up from roughly 15% in 2023. That category, sometimes called friendly fraud, covers customers who dispute legitimate charges. It is a broader pattern of fraud risk that store owners tend to underestimate until they are dealing with it directly.
Account takeover is another gap that compliance does not close. A customer account compromised through credential stuffing — where attackers test username and password combinations harvested from other breaches — can be used to place orders against saved payment methods, claim refunds on orders that were legitimately fulfilled, or access personal data that creates a separate liability under data protection law. PCI DSS does not require you to protect customer accounts from takeover. That responsibility sits with you, and the assumption that the payment processor handles everything is the most common single error: it leads store owners to treat their WordPress environment as a secondary concern when it is the primary attack surface. The payment processor never sees the request that gave an attacker admin access at two in the morning.
The gap between passing a compliance audit and running a genuinely secure store is real, and closing it requires a methodical review of the WordPress environment itself: plugin versions, admin user accounts, file integrity, active scripts on checkout pages, and server-level protections. A compliance certificate tells you that your payment flow met a standard on the day it was assessed. It says nothing about the state of the site surrounding that flow, or what has changed since.
If you are running a WooCommerce store and your current security position amounts to “we passed our PCI audit”, that gap deserves attention before an attacker finds it rather than after. I offer a WordPress security review that covers the specific attack surfaces a compliance audit does not: admin access controls, plugin vulnerabilities, checkout page integrity, and the configuration gaps that leave technically compliant stores exposed to the breaches described above. A breach costs significantly more to recover from than a review costs to commission. Book a security review at The WordPress Guy before the next audit cycle gives you a false sense of cover.
Related articles
Any WooCommerce store running a version below 7.1.0 is currently exposed to a vulnerability with no available fix. An attacker who successfully exploits
Any WordPress site running Really Simple Security below version 9.5.10.1 is currently exposed to an attacker who can exploit a high-severity vulnerability
If your site uses Gravity SMTP to handle transactional email, it is exposed to an actively exploited vulnerability right now. The flaw, a Sensitive
Security issues need permanent fixes, not surface-level patches. This is exactly the work I specialise in.
View security services →
Jason Boyd
Specialist WordPress Engineer · Former W3C Invited Expert · 20+ years
I fix the WordPress problems other developers walk away from. Backed by a 1st Class degree in Computer Science, an MSc in Cybersecurity, and over 20 years of specialist WordPress work, I diagnose issues at their root cause and resolve them permanently — for businesses that cannot afford guesswork or repeat failures.
If this article describes your situation, I can diagnose the specifics and fix it properly. Send your brief and I'll respond the same working day.