Crypto address-swapping code hit Ledger, BBC and 176 other sites via Optimizely

Address-swapping and card-skimming code was injected into 178 Optimizely customer sites from the afternoon of Nov. 16 to the morning of Nov. 17 KST.
Affected organizations included six crypto and trading firms such as hardware wallet maker Ledger, plus 32 banks and financial companies.
Attacker wallets received about $7,040, and Optimizely said it fixed the flaw and removed the code.
Malicious code that swapped cryptocurrency wallet addresses for the attacker's own was planted on the websites of 178 organizations, including hardware wallet maker Ledger, British bank HSBC, the BBC, CNN and Zoom, from the afternoon of Nov. 16 to the morning of Nov. 17 Korea time. The sites themselves were not breached. Instead, the code was inserted into customer settings at Optimizely, a web experimentation (A/B testing) tool the sites have in common. Web security monitoring firm Report URI disclosed the attack in an analysis published Nov. 16, and Optimizely posted a notice about the incident on its status page on the morning of Nov. 17 KST.
One experimentation tool became a doorway into 178 sites
Companies use Optimizely to test changes to page copy or buttons and compare how visitors respond. Customer sites load and run a small script from Optimizely's servers (CDN), and the attacker placed malicious code in "Project JavaScript," a per-customer settings field. Report URI said "Optimizely's CDN served exactly what it was given; this was not a CDN cache-poisoning attack." How the attacker obtained write access remained unclear at the time of the report.
On its status page, Optimizely said "an unauthorized party exploited a vulnerability in Experimentation and used it to add malicious JavaScript to some customer projects," adding "We've fixed the vulnerability and removed the injected code from affected projects." It said it had also taken steps to secure affected user accounts and put additional protections in place to prevent unauthorized code from being delivered.
- First injection seen in the Optimizely script on the BBC's site (all times KST)
- First version of the address-swapping code created
- Attacker moved stolen crypto to exchanges
- Payment card skimming added
- Report URI scan found 186 of 1,611 Optimizely scripts infected
- Malicious code removed from Ledger's site, followed by widespread cleanup at other sites, including the BBC
- All infected Optimizely files restored to normal
- Optimizely posted an incident notice on its status page
Copied addresses and on-screen addresses alike were replaced
According to Report URI's analysis, the code searched pages for wallet addresses on Bitcoin, Ethereum and other EVM chains, Tron, Solana, TON, Litecoin, Bitcoin Cash and Dogecoin, and replaced them with the attacker's addresses. Targets included not only visible text but also form fields, links, images, addresses copied to the clipboard and outgoing requests. A user who copied an address from an affected site and pasted it into an exchange withdrawal window would have pasted the attacker's address instead.
The payload was rebuilt 26 times in a single day, with features and wallets added along the way. From the night of Nov. 16 KST, it gained the ability to capture card numbers, expiry dates and CVVs typed into payment forms. When it replaced addresses near wallet- or payment-related text, it also sent cookies and a screenshot. On iPhones and iPads running iOS 18.6 or earlier, it loaded an exploit chain in a hidden iframe. Card details entered inside payment processors' frames, such as Stripe's, were out of its reach.
Six crypto and trading firms and 32 financial companies
The 188 infected scripts belonged to 178 organizations. By Report URI's sector breakdown, banking and finance accounted for the most at 32, followed by technology and SaaS at 23 and retail and fashion at 20. The six crypto and trading firms were Ledger, IG, OANDA's Coinpass, interactive investor, TMS Brokers and Betashares. The report noted that it counted only scripts it managed to check in time, so the true scope may be larger.
By the report's tally, attacker wallets received about $7,040 within roughly nine hours on Nov. 16 (as of 4:25 a.m. KST Nov. 17). Bitcoin made up the largest share at 0.08298 BTC (about $5,380), followed by 17.02 LTC and 662.9 USDT on Tron. A Nov. 17 update showed bitcoin receipts had risen to 0.08528 BTC, and the attacker moved the remaining coins to other addresses between about 1 p.m. and 2:40 p.m. KST Nov. 17. The extent of card and cookie theft is unknown. Optimizely, Ledger and HSBC did not immediately respond to requests for comment, according to CoinDesk.
If you visited an affected site between the afternoon of Nov. 16 and the morning of Nov. 17 KST
Report URI advised visitors to update iPhones and iPads to iOS 18.7.3 or later, or iOS 26.3 or later, to double-check receiving addresses before sending crypto, and to review card statements if they paid by card on an affected site. It told site operators using Optimizely to look for unfamiliar scripts such as "1688360.cc" in their project code and to review access permissions and rotate credentials.