Credit Card Skimmers Hit X-Cart and Magento Sites With Obfuscated JavaScript
Sector Threat Intelligence · 2 sources · Updated 4mo ago · First seen Feb 7, 2022

Researchers found a compromised X-Cart e-commerce site running two separate payment skimmers: a basic server-side stealer and a more advanced client-side JavaScript skimmer. The server-side malware captured base64-encoded payment POST data and saved it to a fake .jpg file, while the browser-based skimmer validated that a credit card number was present before exfiltrating checkout data to attacker infrastructure. Analysts traced the X-Cart exfiltration path to metahtmlhead[.]com/folder/ip/zxc.php, with the destination assembled through DOM-based domain construction to hinder detection.
The JavaScript skimmer used layered obfuscation and an anti-debugging technique tied to wrapper-function length, forcing researchers to brute-force parts of the code to recover its behavior. A similar skimmer was later identified on a Magento 1.x site, using the same obfuscation style and a matching URL path structure but sending stolen payment data to winsiott[.]com/folder/ip/stt.php. The overlap in code design, evasion methods, and infrastructure indicates a broader web-skimming campaign targeting multiple e-commerce platforms.
Why it matters
Impact assessment
Payment-card theft is the primary impact, affecting online merchants running X-Cart and Magento 1.x storefronts and their customers during checkout. The risk is high for e-commerce, retail, and any organization processing cardholder data through affected pages because compromise can lead to direct fraud losses, PCI exposure, incident response costs, and reputational damage.
The activity appears broader than a single-site intrusion: researchers identified related skimmers across both X-Cart and Magento infrastructure, with additional infected Magento sites observed publicly. Exploitation is confirmed in the wild through active compromises and live exfiltration infrastructure rather than a theoretical vulnerability.
Supporting facts
- A compromised X-Cart site contained both a server-side skimmer and a client-side JavaScript skimmer.
- A similar skimmer was identified on a Magento 1.x site, indicating cross-platform targeting.
- PublicWWW identified additional infected sites using the same Magento-related exfiltration path.
- Stolen data included checkout form values and payment POST data, creating direct cardholder-data exposure.
- Business impacts include payment fraud, PCI DSS compliance issues, customer notification obligations, chargebacks, and brand damage.


