Web Skimming (Magecart) incident response playbook · Cybersecurity Atlas
Web Skimming (Magecart)
CriticalWeb Application SecurityA08:2021 – Software and Data Integrity Failures
Attackers inject malicious JavaScript into checkout or login pages, often through a compromised third-party script, tag manager, or plugin, and silently send card data or credentials to a domain they control.
Immediate Response
1Remove the injected code and redeploy payment pages from a known-good build.
2Block the exfiltration domain in CSP and at the WAF or proxy.
3Preserve the modified files, logs, and CSP reports as evidence.
4Notify your payment processor or acquirer and follow their forensic investigation requirements.