A highly sophisticated web-skimming campaign, identified as a new variant of the persistent Magecart threat, has resurfaced with significant activity in 2026, actively compromising e-commerce websites. This advanced attack method targets online shoppers by stealing sensitive credit card details directly from website checkout pages, posing a severe risk to online retail security and customer data.
The current iteration of the Magecart attack family has been meticulously documented by threat researchers. Analysts have uncovered extensive infrastructure that has been operational since at least early 2022. This malicious network specifically targets major payment providers, including American Express, Diners Club, Discover, Mastercard, JCB, and UnionPay, indicating a broad potential impact on millions of e-commerce customers worldwide. The campaign’s longevity and evolving tactics underscore the persistent challenges in securing online payment environments.
New Magecart Attack Evolves for Enhanced E-commerce Skimming
This latest Magecart campaign operates through the injection of malicious JavaScript code into legitimate e-commerce websites. A key feature of this attack is its stealth; the injected code remains dormant and does not trigger obvious security alerts during normal website browsing. The malicious payload activates only when a visitor proceeds to the payment or checkout page of the compromised website, at which point it begins to extract sensitive credential information.
The operational infrastructure supporting these attacks relies on a combination of compromised domains and bulletproof hosting providers. This approach allows the threat actors to maintain persistence and evade detection by security systems. Analysts from Silent Push, who have been closely monitoring this threat, noted that the attackers demonstrate advanced knowledge of content management systems, particularly WordPress. They have been observed leveraging lesser-known features, such as wp_enqueue_scripts action hooks, to seamlessly integrate their malicious scripts into the website’s rendering process without raising immediate suspicion.
The technical sophistication of this web skimming operation is evident in its ability to create a convincing facade during the critical payment process. The malware employs a MutationObserver to monitor webpage changes in real-time, ensuring continuous surveillance of the payment form environment. This allows the skimmer to dynamically respond to user interactions and avoid detection.
Subsequently, the malicious code hides the legitimate payment form, such as those provided by Stripe, and injects a nearly identical fake form. This counterfeit form is designed to capture essential payment details, including card numbers, expiration dates, CVV codes, and billing information. To further enhance its deceptive capabilities, the fake form includes brand detection logic, enabling it to recognize various card types and display corresponding brand images, thereby reinforcing its perceived legitimacy to unsuspecting users.
Sophisticated Data Exfiltration Mechanism for Magecart Operations
The data collection process extends beyond immediate payment details. The malware is programmed to monitor every input field present on the checkout page, aggressively harvesting personal information such as names, addresses, and email addresses. Once a victim completes the fraudulent form and clicks the “Place Order” button, the skimmer compiles all the collected data into a structured object. This data is then subjected to XOR encryption using a hardcoded key of 777 and subsequently encoded in Base64 format for transmission.
The encrypted payload is then exfiltrated via an HTTP POST request to command-and-control servers, which are themselves located on compromised infrastructure. This method of data transfer is designed to blend in with normal web traffic, making it harder to detect.
A critical element of the attack’s success lies in its exploitation of user psychology. After the victim submits their information, the skimmer often displays a fabricated payment error message. This misleads the user into believing they have entered incorrect information, prompting them to re-enter their credentials into the legitimate payment form. While the customer successfully completes their purchase, their sensitive data has already been compromised and transmitted. This psychological manipulation significantly increases the attack’s success rate by reducing suspicion and encouraging repeat interactions with the compromised form.
Furthermore, the malware incorporates evasion tactics designed to avoid detection by website administrators. It can detect the presence of a WordPress administrator bar and automatically disable itself when an administrator views the site. This feature allows the campaign to remain active over extended periods, significantly prolonging its operational lifespan and increasing its overall effectiveness.
Security researchers anticipate that this multi-year Magecart threat will continue to target vulnerable online stores throughout 2026. The ongoing evolution of these sophisticated web skimming techniques highlights the need for continuous vigilance and enhanced security measures within the e-commerce sector to protect both businesses and their customers from financial fraud and data breaches.

