On this page
- Key takeaways
- What does WooCommerce store, and who is responsible for it?
- How does WooCommerce PCI compliance change with your checkout type?
- Which extensions put WooCommerce security at risk?
- Which user role should store staff get?
- How do you stop card testing and fake orders?
- Is a WooCommerce security plugin enough to secure a WooCommerce store?
- What the evidence does not tell you
- Where to get help with WooCommerce security
- Frequently asked questions
WooCommerce security comes down to two jobs: your payment gateway protects card data during payment, and you protect everything else, including customer records, admin accounts, extensions and the checkout page itself. WooCommerce.com says card numbers and security codes are never stored on your site by design, but names, addresses and order history are, and those are yours to defend.
This guide covers what your store actually holds, how responsibility splits between you and the gateway, how PCI compliance changes with your checkout type, and where extensions, staff roles and fraud fit in. If you are building or rebuilding a shop, our WooCommerce and e-commerce development work starts from these same principles.
Key takeaways
- With a tokenized, integrated gateway, card numbers and security codes are not stored on your site, according to WooCommerce.com. Customer personal data is.
- Your checkout type (redirect or embedded form) affects which PCI rules apply. Your acquirer or payment brand decides which questionnaire you complete.
- Plugins and themes are where most new WordPress vulnerabilities appear, per vendor-reported Patchstack data.
- Card testing and fake orders are your problem to manage, with tools such as reCAPTCHA, anti-fraud software and refunds.
- No single plugin makes a store secure. Updates, access control, backups and monitoring carry most of the weight.
What does WooCommerce store, and who is responsible for it?
By default, WooCommerce keeps ordered products and dates, the customer’s name, email and phone, billing and optional shipping addresses, and a note of the payment method, according to WooCommerce.com’s security documentation. That data sits in your host’s database, so protecting it is the store owner’s job.
Card data works differently. WooCommerce.com says that with tokenization, the only thing saved on your site is a string of characters called a token. A token can include the last four digits, card brand and expiration date. It is not the full card number.
The same page says offline gateways such as cash on delivery or cheque carry fewer concerns. It does not cover custom or non-standard gateway plugins, so a badly built one could change the picture.
| Item | Who handles it | Basis |
|---|---|---|
| Card number and security code | Payment gateway | WooCommerce.com: not stored on your site by design (tokenized, integrated gateways) |
| Token (last four digits, brand, expiry) | Stored on your site | WooCommerce.com documentation |
| Customer name, email, phone, addresses, order history | You | Stored in your host’s database |
| HTTPS/SSL | You | WooCommerce.com says integrated gateways demand at least rudimentary PCI compliance, meaning valid HTTPS |
| Plugins, themes and code snippets | You | WooCommerce.com: one badly designed plugin or snippet can put the site at risk |
One honest gap: we could not find an official WooCommerce page that spells out the full responsibility split, so this table reflects what the documentation states piece by piece.
How does WooCommerce PCI compliance change with your checkout type?
It depends on whether customers pay on a page you host that embeds the processor’s form, or are sent away to the processor entirely. The PCI Security Standards Council’s FAQ 1588 (February 2025) addresses this for the SAQ A script criterion.
As we read it, that criterion applies only to merchants whose webpage includes a third-party service provider’s or payment processor’s embedded payment page or form, such as an iframe. It does not apply to merchants that redirect customers to the provider or fully outsource payment functions.
If you do embed a form, the FAQ describes two ways to confirm your page is not susceptible to script attacks:
- Use techniques such as those in PCI DSS requirements 6.4.3 and 11.6.1.
- Get confirmation from your PCI DSS compliant provider or processor that the embedded solution protects the payment page when implemented per its instructions.
The FAQ also tells merchants to consult their acquirer or payment brands about which questionnaire applies. We cannot tell you whether you need SAQ A or SAQ A-EP, and neither can a blog post. Secondary sources also disagree on what counts as a redirect, and we could not confirm a definition from a primary page. Ask your acquirer.
Which extensions put WooCommerce security at risk?
Any plugin or theme can, and that is where the data points. According to Patchstack, a WordPress security vendor, about 91% of new WordPress-ecosystem vulnerabilities in 2025 were in plugins and 9% in themes. Core had only 6, all low priority. Because Patchstack sells protection, treat these as vendor-reported figures.
Speed matters too. Patchstack reports that 46% of vulnerabilities had no developer fix when publicly disclosed. The weighted median time to mass exploitation of heavily exploited vulnerabilities was 5 hours, and roughly half of high-impact vulnerabilities were exploited within 24 hours.

The WooCommerce developer docs add a plain rule: avoid nulled or pirated plugins and themes, which may contain malicious code. The WordPress.org hardening guide says to delete unused plugins and install plugins and themes only from the WordPress.org repository or well-known companies.
In our experience across more than 600 WordPress sites over 7 years, updates are also a breakage risk. A plugin or theme that does not support the latest PHP or WordPress version is the most common cause of layout or function problems after an update. We have seen an ecommerce site with a long-unupdated theme plugin end up with broken CSS that made a large product catalog hard to navigate. That is why we run weekly updates and check the site works afterward, rather than waiting. For wider numbers, see our WordPress security statistics post.
Which user role should store staff get?
Give each person the least access their job needs, and keep full administrator accounts to a minimum. That is our recommendation, not a quote from the sources: the WooCommerce docs we reviewed say nothing about the Shop Manager role, and we could not verify what each built-in role may do.
WordPress.org’s Roles and Capabilities page is the official reference. It covers Super Admin, Administrator, Editor, Author, Contributor and Subscriber, and lists capabilities such as install_themes and activate_plugins. Check it before assigning anything.
The hardening guide gives account-level steps that apply to everyone with access:
- Avoid usernames like “admin” or “webmaster”, which the guide says are typically subject to attacks first.
- Enable two-step authentication.
- Require HTTPS for administration.
The WooCommerce docs add strong passwords and login limits.
How do you stop card testing and fake orders?
You combine friction at checkout with fast cleanup, since fraud screening is largely your responsibility. WooCommerce.com recommends refunding suspected card-testing transactions, adding anti-fraud software or reCAPTCHA, and considering preventing guest checkout.
These steps are a starting set for woocommerce fraud protection, not a guarantee. The sources we reviewed do not say how well each one works, and they do not cover gateway-side fraud tools. Check what your gateway offers and weigh blocking guest checkout against lost sales.
Is a WooCommerce security plugin enough to secure a WooCommerce store?
No. A woocommerce security plugin can add login limits or scanning, but the official guidance is mostly about habits: updates, access control, backups and monitoring. The WordPress.org security handbook calls keeping plugins and themes updated the most important thing. We compare options in best WordPress security plugins and explain the limits in whether a security plugin alone stops attacks.
To secure a WooCommerce store, work through this list:
- Run the latest WordPress and WooCommerce, and get them from trusted sources.
- Delete unused plugins and avoid nulled copies.
- Use two-factor authentication, login limits and a non-default table prefix, and restrict XML-RPC and REST API access (WooCommerce docs).
- Use SFTP rather than FTP, and set wp-config.php to 400 or 440.
- Add define( ‘DISALLOW_FILE_EDIT’, true ); to wp-config.php. The guide notes this will not stop uploads of malicious files.
- Give the database user only SELECT, INSERT, UPDATE and DELETE for normal operation, but only after reliable backups exist, because revoking DROP, ALTER or GRANT can break upgrades.
- Keep off-site backups of database, files and media, plus activity logs and file-change monitoring.
Backups need watching too. We once saw a backup plugin silently disconnect, which stopped both backups and downtime alerts, and the site was found hacked later. For tool choices, see WordPress backup plugins compared. Our website care plans include weekly updates, uptime monitoring and a short monthly report, and the WooCommerce docs also advise testing updates in staging before they reach the live store.

What the evidence does not tell you
Several useful answers are not available from the sources we reviewed:
- There are no WooCommerce-specific breach or skimming statistics. Patchstack’s figures cover the whole WordPress ecosystem and are vendor-reported.
- Patchstack’s finding that Broken Access Control was the most exploited category comes from attacks its own product blocked, so it is not an independent measure of how often stores are hit.
- The WooCommerce and WooCommerce.com pages are undated, and WooCommerce.com sells extensions and payment services, so it has a commercial interest.
- We could not verify recent PCI questionnaire revisions on the PCI Security Standards Council site, so check there or with your acquirer.
- Experts disagree on the benefit of moving wp-config.php above the web root, per the WordPress.org guide.
Where to get help with WooCommerce security
If you want someone to review your checkout, extensions and staff access, or to build a store with these controls in place, our e-commerce development team can help. If you suspect something is already wrong, start with hacked site repair. We never promise to prove how a site was compromised, but we do clean it and patch the vulnerabilities we can identify.
Frequently asked questions
Does WooCommerce store credit card numbers?
According to WooCommerce.com, card numbers and security codes are never stored on your site by design. With tokenization, only a token is saved, which can include the last four digits, card brand and expiration date.
If I use Stripe or PayPal, am I still responsible for PCI compliance?
Your gateway handles card data, but you still have obligations. WooCommerce.com says integrated gateways demand at least rudimentary PCI compliance, such as valid HTTPS. Ask your acquirer or payment brand which questionnaire applies to you.
Are nulled WooCommerce extensions safe?
No. The WooCommerce developer docs say to avoid nulled or pirated plugins and themes, which may contain malicious code.
Do I need to block guest checkout?
Not necessarily. WooCommerce.com says to consider preventing guest checkout as one way to reduce fraud, but it is a trade-off with convenience for customers.
What should I back up and where?
The WooCommerce docs recommend off-site backups of your database, files and media. Make sure the backup job keeps running, because a silent failure can go unnoticed.
Sources
- WordPress.org: Hardening WordPress, Advanced Administration Handbook (published 2023-03-28; last modified 2026-10-14)
- WordPress.org: Security, Advanced Administration Handbook (no date shown in our review)
- WooCommerce: Security best practices, WooCommerce Developer Docs (no page date; footer 2026)
- WooCommerce.com: WooCommerce Security documentation (no page date; footer 2026; vendor documentation with a commercial interest)
- PCI Security Standards Council: FAQ 1588 (February 2025)
- Patchstack: State of WordPress Security in 2026 (updated 2026-02-25, vendor-reported)
- WordPress.org: Roles and Capabilities (published 2018-12-01; last modified 2026-09-02)

