Skip to main content
Mallory
← Back to News
credential-stealer-activityinternet-facing-service-vulnerabilitydata-exfiltration-methoddefense-evasion-method

Magecart Campaign Hides Magento Card Skimmer in 1x1 SVG Images

Malware Intelligence · 2 sources · Updated 5mo ago · First seen Apr 8, 2026

Magecart Campaign Hides Magento Card Skimmer in 1x1 SVG Images

A large Magecart campaign compromised nearly 100 Magento and Adobe Commerce stores by hiding a full credit-card skimmer inside a 1x1-pixel SVG embedded directly in checkout page HTML. Researchers said the malware stores its payload in the SVG onload handler, decodes it with atob(), and runs it via setTimeout, allowing it to evade scanners that typically look for externally loaded scripts. When shoppers click checkout, the skimmer displays a convincing fake "Secure Checkout" overlay that captures billing and payment details before validating card numbers with the Luhn algorithm.

The stolen data is exfiltrated as XOR-encrypted, base64-obfuscated JSON to attacker-controlled infrastructure, in some cases disguised as Facebook analytics traffic. Sansec linked the infections to exploitation of the PolyShell vulnerability, which affects Magento Open Source and Adobe Commerce stable version 2 deployments and can enable unauthenticated code execution and account takeover. Defenders were urged to hunt for hidden SVG tags and suspicious onload code, check for the _mgx_cv localStorage key, and block outbound traffic to the identified attacker infrastructure, including domains resolving to 23.137.249.67 hosted by IncogNet in the Netherlands.

Hunt this familyPull IOCs and campaign context straight into your stack.
Get the IOCs
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · Apr 7, 2026 – Apr 8, 2026
  1. Apr 8, 20267mo ago

    Researchers disclose SVG-based skimmer technique and IOCs

    Researchers publicly detailed that the skimmer used an SVG onload handler with base64-decoded JavaScript, fake 'Secure Checkout' overlays, Luhn validation, and XOR/base64-obfuscated exfiltration. They also published indicators and hunting guidance, including the _mgx_cv localStorage key, attacker domains, and traffic to 23.137.249.67.

  2. Apr 8, 20267mo ago

    PolyShell vulnerability leaves Magento stores exposed

    An ongoing PolyShell vulnerability affecting Magento Open Source and Adobe Commerce stable version 2 installations enabled unauthenticated code execution and account takeover, and researchers believe attackers likely used it to gain access to compromised stores. At the time of reporting, Adobe had not released a production security update, with a fix only available in pre-release version 2.4.9-alpha3+.

  3. Apr 7, 20267mo ago

    Magecart campaign compromises 99 Magento stores

    Sansec discovered on 2026-04-07 a large-scale Magento skimming campaign affecting 99 online stores. The attackers hid a credit card skimmer inside a 1x1-pixel SVG embedded in checkout page HTML to evade detection.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Threat actors

1 linked

Malware

1 linked

Affected products

3 linked
Magento Open SourceAdobe CommerceMagento

Observables

3 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Pull the IOCs, campaigns, and victimology behind this family, ready to push into your SIEM and EDR.
Hunt This Malware
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.