← All articles
Security Nov 20, 2026 3 min read

Is Your WooCommerce Checkout Leaking Card Data? How Skimmers Work

Your checkout looks normal. Orders come in. But a few lines of hidden code could be copying every card number your customers type. Here's how skimmers work and how to protect your store.

In this article

Here’s the scary thing about card skimmers: your store keeps working perfectly. Orders come in. Payments go through. Customers get their confirmation emails.

Meanwhile, a few lines of hidden JavaScript are quietly copying every card number typed into your checkout and sending it to a criminal’s server.

You usually find out weeks later, when customers’ banks start tracing fraud back to the one place they all shopped: you.

How a skimmer works

Online skimming (sometimes called a “Magecart” attack) works like this:

  1. An attacker gets into your site, usually through an outdated plugin, a weak admin password or a nulled plugin.
  2. They inject a small script into your checkout page, sometimes into a plugin file, sometimes into the database, sometimes disguised as Google Analytics or a payment script.
  3. When a customer types their card details, the script copies them before they reach your payment provider.
  4. The stolen data is sent to the attacker’s server in the background.

Some skimmers even show a fake payment form that looks like your real one, and then display an error so the customer types their details again into the real form. The order completes normally and nobody suspects anything.

Am I at risk?

You’re at higher risk if:

  • Customers type card details directly on your checkout page (rather than being sent to PayPal or a hosted payment page).
  • Your plugins, theme or WordPress core aren’t updated regularly.
  • You’ve ever installed a nulled or “free premium” plugin.
  • Admins don’t use two-factor login.
  • Nobody monitors for file changes on the site.

Modern payment plugins (Stripe, for example) use secure fields loaded from the payment provider, which helps a lot. But a skimmer can still swap in a fake form, so this alone isn’t a guarantee.

Warning signs

  • Customers reporting fraud on their cards after buying from you.
  • Your payment provider or bank contacting you about a “common point of purchase”.
  • Customers saying they had to enter their card twice.
  • Unknown JavaScript files, or scripts loading from domains you don’t recognise on checkout.
  • New admin users or recently modified plugin files you didn’t change.

How to check your checkout today

  1. Open your checkout page in Chrome, right-click → Inspect → Network tab, and reload. Look at the list of domains scripts load from. Do you recognise all of them?
  2. Check Users for admins you don’t know.
  3. Check your plugin list for anything you didn’t install.
  4. Run the free Website Health Checker for basic security weak spots.

If anything looks wrong, treat it as an emergency: switch checkout to an off-site payment option temporarily, and get the site checked properly. Read what to do in the first 60 minutes.

How to protect your store

  • Keep everything updated: core, plugins, themes, every week.
  • Use payment methods with hosted or embedded secure fields, so card data goes straight to the provider.
  • Two-factor login for every admin, and as few admins as possible.
  • Never use nulled plugins.
  • File change monitoring and a firewall, so you’re alerted when something changes.
  • A Content Security Policy (an advanced setting) that only allows scripts from domains you approve.

Protect your customers (and your payment account)

A skimmer incident can cost you your payment account, chargebacks, and the trust of every customer affected. Prevention costs far less than recovery.

My Security Hardening ($199) locks down your store’s checkout, logins and plugins, and adds monitoring. If you think you’ve been hit already, my hacked site cleanup starts the same day.

Found this useful? Share it.
Is Your WooCommerce Checkout Leaking Card Data? How Skimmers Work screenshot
Written by

I fix and build WordPress and WooCommerce systems for service businesses and online stores: checkout, booking, speed, and custom plugins. Fixed prices and a 30-day warranty on every job.

More about me →
Need a hand?

Let me fix it for you.

Small fixes from $99, done in 24–48 hours. Fixed price, and if it is not fixed you do not pay.

Not ready yet?

No spam. Unsubscribe anytime.

All articles →