Critical security advisoryCriticalFlagged by our vulnerability database: PHP2Shell is on CISA’s exploited list. Most WordPress hosting runs PHP. See if your site is affectedFlagged by our vulnerability database: PHP2Shell is being exploited. DetailsExploited: PHP2Shell. Check your site
HuttenlocherTechnologies

Security · 5 min read · Updated October 25, 2026

Card skimming on websites: how online stores get hit

Short answer: Online card skimming is code slipped into a store’s checkout page that copies card numbers as customers type them. The store keeps working normally, so it can run for months. The best defense is a checkout where card numbers never touch your page at all.

How it happens

This family of attacks is often called Magecart, after the groups that made it widespread.

  • An attacker gets into the store through an outdated platform, plugin or admin login, and adds a script to the checkout.
  • Or a third-party script the store loads (a chat widget, analytics, a review tool) is itself compromised.
  • The script copies what customers type into payment fields and sends it to the attacker.

Defenses

  • Card fields hosted by your payment processor, in their own secure frame or page, so your site never handles card numbers. A skimmer on your page can’t read inside them.
  • A Content-Security-Policy that only allows scripts from sources you approve. See security headers explained.
  • Few scripts on payment pages. Every third-party script is a door.
  • Monitoring for changes to checkout pages.
  • Updates and two-step sign-in on the store’s admin.

What PCI DSS 4.0 changed

Version 4.0 of the card industry’s security standard added requirements, effective from March 2025, for managing and monitoring the scripts on payment pages. The exact requirements that apply to your store depend on how your checkout is built and which self-assessment questionnaire you complete; ask your payment processor which one applies to you.

Written by Nikita Huttenlocher, founder and lead engineer at Huttenlocher Technologies, a web design and software company in Myrtle Beach, South Carolina.

Questions

How would I know if my store was skimmed?

Often you hear it from your payment processor or a bank, after customers report fraud. Watching checkout pages for changed scripts catches it sooner.

Do your stores handle card numbers?

No. Card details go straight to the payment processor; our stores never see them.

Get in touch

Tell us what you're building.

A website, your marketing, a security check, an app, or the thing you've been running out of a spreadsheet for three years. A few lines is plenty.

01The person who'll do the work writes back
02A short call, then a written plan with the price
03Nothing starts until you say yes
04Hacked or down right now? Call, and we pick up the same day
843-331-6339

Not ready to talk yet? Run the free website check and see what Google sees.

What do you need?
Build
Grow
Protect
Urgent

No newsletter, no sales sequence. Just a reply.