Thursday, November 26, 2026
Science7 min read

Optimizely Flaw Exploited to Hijack Browsers for Payment Cards and Crypto

A security breach involving the digital experimentation platform Optimizely has allowed attackers to inject malicious scripts, targeting consumer payment cards, digital currency, and Apple devices.

By · Reported from Neetika Walter

Link preview · horizonglobalnews.com

Optimizely Flaw Exploited to Hijack Browsers for Payment Cards and Crypto

A security breach involving the digital experimentation platform Optimizely has allowed attackers to inject malicious scripts, targeting consumer payment cards, digital currency, and Apple devices.

Share
Optimizely Flaw Exploited to Hijack Browsers for Payment Cards and Crypto
Image via Neetika Walter

Cybersecurity researchers have uncovered a targeted campaign in which threat actors leveraged a security flaw within the digital experience platform Optimizely to plant malicious code across customer-facing websites. The compromise allowed the attackers to execute unauthorized JavaScript within visitors' web browsers, enabling the surreptitious harvesting of payment-card numbers, the redirection or theft of cryptocurrency assets, and specific exploitation attempts aimed at users operating Apple devices. The intrusion highlights persistent vulnerabilities within third-party web supply chains, where a single compromised code library can provide attackers with unhindered access to thousands of downstream enterprise domains.

Key facts

  • Attackers breached websites utilizing the Optimizely platform by manipulating a software vulnerability to insert hostile JavaScript directly into page templates.
  • The malicious code was engineered to execute digital skimming, intercepting confidential payment-card numbers and credentials entered into web checkout forms.
  • In addition to standard financial theft, the injected scripts contained specialized payloads designed to divert cryptocurrency transactions and identify Apple hardware and operating systems.
  • The incident represents an application of client-side web supply-chain compromise, commonly classified under the Magecart umbrella of browser-based skimming techniques.
  • The campaign was detailed in investigative reporting published by Neetika Walter on November 17, exposing the broader exposure faced by organizations relying on external optimization scripts.
  • What happened

    According to reporting by Neetika Walter, cybercriminals identified and exploited an operational vulnerability involving Optimizely, a widely used cloud-based experimentation and digital experience platform that enterprises deploy to conduct A/B testing and personalize consumer web environments. By circumventing controls around how scripts are updated or served to client websites, the attackers succeeded in embedding unauthorized code into legitimate web assets.

    Once the tampered code loaded in end-user browsers, it operated invisibly alongside legitimate application scripts. Web browsers traditionally execute scripts loaded from authorized domains with the full permissions granted to the parent page, allowing the hostile instructions to read document object models, monitor keystrokes, and capture form inputs in real time.

    The payload served multiple illicit objectives. First, it functioned as an automated digital skimmer, siphoning credit card numbers, cardholder names, expiration dates, and security codes (CVVs) typed into checkout fields before transmitting the collected records to command-and-control servers operated by the perpetrators. Second, the scripts scanned web sessions for interactions involving cryptocurrency, searching for cryptocurrency wallet addresses or web-based wallet browser extensions. When detected, the malicious scripts attempted to hijack or rewrite destination addresses to divert outbound token transfers into attacker-controlled wallets. Finally, the code contained routines designed to probe system environments for Apple devices, specifically isolating visitors running macOS and iOS to deliver platform-specific reconnaissance or secondary exploitation sequences.

    Why it matters

    The exploitation of an established optimization tool like Optimizely underscores the fragile security perimeter of modern web commerce. Commercial websites routinely rely on dozens of third-party vendors to deliver advertising analytics, customer relationship widgets, behavioral tracking, and dynamic layout testing. If an adversary compromises any link in this supply chain, every site loading that vendor's code becomes an inadvertent accomplice in attacking its own visitors.

    For consumers, client-side skimming poses exceptional risks because standard security indicators fail to warn of danger. The website's Hypertext Transfer Protocol Secure (HTTPS) lock remains valid, digital certificates appear in order, and the base domain is entirely legitimate. The interception occurs directly on the local device inside the browser window before data is ever submitted to the company's protected back-end databases. This architecture bypasses internal enterprise defenses, such as network firewalls and database encryption, leaving end users solely exposed to financial fraud and unauthorized account drains.

    For enterprise organizations, the legal and regulatory consequences are severe. Under frameworks such as the Payment Card Industry Data Security Standard (PCI DSS) Version 4.0, businesses that accept card payments are explicitly mandated to maintain strict inventories of all scripts running in consumer checkout flows and to enforce automated mechanisms verifying script integrity. Under Europe's General Data Protection Regulation (GDPR) and the California Consumer Privacy Act (CCPA), failing to secure user sessions against third-party script exploitation exposes companies to massive administrative penalties, private class-action litigation, and mandatory public incident disclosures.

    The background

    Third-party script injection attacks, broadly categorized by security analysts under the generic moniker Magecart, have afflicted the web ecosystem for more than a decade. The attack methodology first gained widespread notoriety between 2015 and 2018 through high-profile compromises of major consumer brands, including the British Airways booking portal, Ticketmaster UK, and the retail platform Newegg. In those instances, attackers quietly modified payment checkout pages by compromising third-party support software, skimming hundreds of thousands of customer payment records over months before discovery.

    Historically, digital skimmers focused strictly on payment-card harvesting. Over recent years, however, criminal syndicates have diversified their payloads to incorporate cryptocurrency theft, reflecting the rapid growth of decentralized finance and web-based non-custodial wallets. In cryptocurrency environments, transactions are irreversible by design. If a malicious script alters a destination address on an active webpage or clipboard, the victim has no recourse through a banking intermediary once the transaction is broadcast to the underlying blockchain.

    Optimizely, founded in 2010 and acquired by digital software provider Episerver in 2020 before standardizing on the Optimizely brand, maintains an extensive global presence across the retail, financial, media, and travel sectors. Tools provided by such experimentation platforms require deep, persistent integration into customer websites to dynamically alter page layouts, test user engagement, and measure conversion funnels. Because marketing and product teams frequently manage these integrations independently of centralized corporate information technology security oversight, third-party optimization tags can operate for extended periods without rigorous code reviews or real-time integrity monitoring.

    Efforts by industry bodies to curb script hijacking have centered around technical controls such as Content Security Policy (CSP) headers and Subresource Integrity (SRI) hashes. CSP enables a website to define which domains are permitted to load and execute scripts, while SRI allows a browser to verify that a fetched file matches an expected cryptographic hash before running it. However, because optimization tools inherently rely on dynamically generated and frequently updated scripts to function, enterprise engineering teams often disable SRI or configure permissive CSP rules to prevent experimental campaigns from breaking, inadvertently opening doors for malicious tampering.

    Reaction

    Following the disclosures, industry cybersecurity analysts, corporate security teams, and e-commerce administrators moved to inspect client-side code deployments across networks utilizing external optimization and testing engines. Corporate security practitioners are expected to audit active third-party tags, isolate experimentation code from sensitive checkout and authentication pages, and review Content Security Policy parameters.

    Neither Optimizely nor specific retail platforms affected by the script injection have issued comprehensive lists detailing every impacted customer organization. In comparable historical incidents, affected software vendors have deployed hotfixes to eliminate configuration weaknesses, revoked compromised administrative API tokens, and instructed customers to refresh their site integration snippets. Affected enterprises, once confirming data exfiltration from their checkout workflows, face mandatory regulatory filings to data protection authorities, including state attorneys general in the United States and national data regulators across the European Union, alongside notifications to credit card networks and acquiring banks.

    What we don't know yet

    Crucial technical and logistical dimensions of the incident remain unconfirmed. The exact vector through which the attackers tampered with the Optimizely code—whether through an unpatched software vulnerability in Optimizely's infrastructure, compromised administrative credentials, a flawed content delivery network configuration, or a supply-chain dependency within Optimizely's own software development lifecycle—has not been publicly specified.

    Furthermore, the full scope of the campaign remains undetermined. It is not yet clear how many domains loaded the malicious code, how long the scripts remained active before detection, or the aggregate number of consumers whose credit cards and digital assets were compromised. Additionally, technical details regarding how the Apple-specific targeting functioned, including whether the scripts were probing for unpatched WebKit vulnerabilities or simply assessing user agents to tailor fraudulent cryptocurrency pop-ups, have not been documented in the initial disclosures.

    What to watch

    In the coming weeks, the priority for the security community will be the release of formal technical post-mortems and Indicators of Compromise (IoCs). Forensic investigators will look for the domain names and Internet Protocol (IP) addresses utilized by the attackers for command-and-control operations, as well as the cryptographic hashes of the injected scripts, allowing global firewalls and endpoint protection platforms to block data leakage.

    Observers should also monitor compliance enforcement under PCI DSS v4.0. Because the standard mandates that e-commerce sites implement methods to ensure scripts running on payment pages are authorized and maintain cryptographic integrity, regulators and payment card card brands could issue substantial compliance sanctions if affected retailers permitted experimentation scripts to run unrestricted on checkout pages. Finally, the broader enterprise market will likely reassess the permissions granted to marketing technology stacks, potentially accelerating the adoption of strict architectural segregation between client-side analytics and transactional payment processing environments.

    This account is based on investigative reporting published by Neetika Walter.

    How this story was produced

    This report was written by The Global Wire newsroom from reporting first published by Neetika Walter. We verify the core facts against the original report, write our own account, and add the background and consequences a short wire item leaves out. Drafting is AI-assisted inside an editor-supervised pipeline, and every story is checked for accuracy of attribution, structure and duplication before it appears — full detail in our AI and funding disclosure.

    Spotted an error? Tell us at corrections@horizonglobalnews.com and read our corrections policy or editorial standards.

    Reader comments

    Loading comments…

    Join the conversation

    Comments appear straight away. Anything our filters find suspicious is held for an editor to review.

    0/2000

    More in Science