Executive Summary
An unknown threat actor compromised 953 online stores, primarily Magento-based, by injecting malicious JavaScript delivery code. E-commerce operators and teams assessing third-party or application supply-chain exposure should care.
What Happened
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
Affected Products
- Magento
- Magento CMS blocks
Vulnerability / Attack Technique
Malicious JavaScript injection through CMS blocks
Technical Mechanism
The reported campaign adds a small piece of code to infected store pages. When unsuspecting users visit those pages, Magento CMS blocks serve malicious JavaScript loader code.
AI Security Category
Not AI-specific
RealGround Analysis
This is not an AI-specific attack, but the same supply-chain exposure can affect teams operating AI agents or LLM applications when web applications, CMS components, or embedded scripts support those systems. Teams should maintain an inventory of application and third-party dependencies and verify that externally served code cannot alter agent or LLM workflows.
Recommended Controls
- Maintain an inventory of CMS components, embedded scripts, third-party services, and AI-agent dependencies.
- Restrict and review who can create or modify Magento CMS blocks and other server-side content.
- Monitor web pages and CMS content for unauthorized script changes.
- Use content security policies and script allowlists to limit execution of unapproved JavaScript.
- Integrate supply-chain and dependency checks into security monitoring for applications that support AI agents or LLM services.
Related RealGround Service
AI Agent SBOM and LLM Mapping · or start with the free AI Agent Security Scanner.
Sources
thehackernews.com: https://thehackernews.com/2026/10/hackers-infect-953-online-stores-with.html
Summary and analysis written by RealGround from the source above; last updated 2026-10-27.
