Hackers Infect 953 Online Stores With Scanner-Evading JavaScript, Mostly on Magento
Executive Summary
An unknown threat actor infected 953 online stores, mainly Magento-based, in a long-running campaign since July 2025. The malware injects a small JavaScript snippet via Magento CMS blocks that serves a malicious loader to visitors, evading scanners. The attack targets e‑commerce sites, compromising site integrity and potentially exfiltrating data.
Original Description
An unknown threat actor has infected 953 online stores, most of them running Magento, as part of a long-running campaign active since July 2025. According to Dutch e-commerce security company Sansec, the activity is designed to add a small piece of code to the store's pages that, when visited by unsuspecting users, serves malicious JavaScript loader code through Magento CMS blocks. "When you