QR code generator security is not only about the code itself: it also depends on the website, the account and the scripts behind it. A reported attack on 16 November 2026 shows why. Security vendor Report URI says malicious JavaScript was served through Optimizely, a website-testing service, to 178 organisations, and its list includes the websites of QR Code Generator and Bitly. Nobody has shown that a QR code redirect was changed, but the case is a useful prompt for anyone who prints codes.
Disclosure: we make D-QR, a QR code platform, so we compete with some of the vendors named in this article. We have kept to what the sources say, we are not claiming any named company was breached beyond that, and we cannot tell you that our own or any platform's pages are immune to every supply-chain problem.
What was reported about the Optimizely attack
Report URI, a security company run by Scott Helme, published an analysis that we have paraphrased below. Optimizely's own account is on its status page. The incident was also covered by The Register and BleepingComputer.
- When: the malicious script was served on 16 November 2026.
- How many: Report URI counted 178 organisations and 188 infected snippets, out of 1,611 it checked. It says the real figure is probably higher, because it could only check snippets it found in time.
- What was injected: code was added to a customer's "Project JavaScript" field, which runs on every page that loads the customer's Optimizely snippet. It loaded a tracking script from an attacker-controlled domain.
- What the script did: Report URI says it swapped cryptocurrency wallet addresses for the attacker's, skimmed card details typed into a site's own form fields, sent some cookies and page screenshots to the attacker, and on some iPhones and iPads loaded iOS exploit kits.
- Money: Report URI says the attacker's wallets had received about 7,000 US dollars in crypto. It also says it cannot see how many cards or cookies were taken or how many devices were infected.
What Optimizely says
Optimizely says unauthorised activity began on 16 November, that it detected it the same day and blocked delivery of the code, and that a flaw in the account signup flow of its Web Experimentation product was used to impersonate users on targeted customer accounts. It describes this as not a credentials breach, says the flaw was closed within three hours of detection, and says fewer than 5% of its customers were affected. The incident was marked resolved on 27 November, with the investigation continuing.
Report URI, for its part, says it does not know how the attacker obtained write access. The two accounts are not identical, and we have not tried to reconcile them.
Where QR Code Generator and Bitly come in
Report URI's list of affected organisations includes QR Code Generator (its main website and its login address) and Bitly (its short-link domain, its main site and one other address). Report URI is clear about what that means: their Optimizely snippets were found carrying the injected code. It attributes the compromise to the shared Optimizely dependency, not to a breach of either company's own infrastructure.
The sources we read include no statement from either company, and Report URI says the snippets had been cleaned by the evening of 17 November. We do not know how many visitors to those sites were exposed, or whether any were harmed. We are naming the two vendors only because they are on the published list and because they are QR and link businesses, which is why this matters to readers of this blog.
What this does and does not mean for printed QR codes
A printed QR code usually contains a short web address. When someone scans it, that address answers with a redirect to the real destination. The Optimizely attack, as reported, was aimed at pages that load a script, such as a homepage or a login page. It was not reported to have touched redirects.
- No evidence of redirect tampering. We have seen no report that any QR code redirect was changed in this incident.
- Dashboards are the soft spot. The same script that ran on a marketing page could run on a login page. A script on a login or dashboard page could, in principle, see what a signed-in user types. Whether that happened here is not known.
- The account behind the code is the real asset. Whoever can sign in as you can re-point your codes. That is the reason account security matters more than a code's appearance.
This is the same lesson we drew from the Bitly link hijack that redirected old fast-food tweets: a redirect is only as safe as the account and the domain behind it.
QR code generator security: what you can check before you print
You cannot audit a vendor's website, but you can ask good questions and make your own setup more resilient. Our general advice on picking a provider is in free vs paid QR code generators, and a shorter list is in five questions to ask when choosing a generator for print work.
- Ask about third-party scripts. Analytics, chat widgets and testing tools all run code on a vendor's pages. A vendor that can tell you which ones run on its login and dashboard pages is thinking about the right risk.
- Look for sign-in protections. Ask whether the dashboard offers two-factor sign-in, and use it wherever it exists.
- Use a unique password. A password manager costs nothing and limits the damage if one site's page is ever compromised.
- Check for alerts. A change in where or how often a code is scanned is often the first sign of trouble, so find out whether the provider can tell you.
- Know the exit. If you ever need to leave, can the same printed codes be pointed somewhere else? We cover this in how to switch QR code providers without reprinting.
- Print on an address you control. A custom domain on a paid plan means the printed address is yours, so a change of provider does not strand the print run.
What a QR platform cannot fix
- Another company's script. Any site that loads third-party code, ours included, depends on that code's supplier. No platform can promise otherwise.
- Your own habits. Reused passwords and shared logins undo most technical protection.
- Fake codes and stickers. A code printed by someone else is not under a platform's control. See the fake EasyPark stickers in Asker, Norway for an example.
- What happened to visitors. If a vendor's page ran a malicious script, the people who visited it are the ones to protect, and only the vendor knows who they are.
What a dynamic QR code does give you
If you do use a platform to manage codes, a QR code generator that creates dynamic codes gives you controls that are useful in an incident like this one. The following are features we can confirm for D-QR:
- Pause or re-point in seconds. If something looks wrong with a destination, you can stop a code or move it, and every printed copy follows at once. What a dynamic QR code is explains the mechanism.
- Scan logs. Each code records country, city and device for its scans, and you can export them as a CSV on paid plans.
- Alerts and webhooks. On the Pro plan, scan alerts and webhooks can flag unusual activity.
- Per-code controls. You can set a password, a country restriction or an expiry on a code.
- No surprise expiry. Codes have no expiry unless you set one, and free-plan codes stay live.
These help you react and see. They are not a guarantee, and they do not make a website invulnerable to a supply-chain attack.
The takeaway
The reported Optimizely attack hit 178 organisations in a day, and the list happens to include two QR and link vendors. The sources do not show that any printed code was affected, and they do not say how many visitors were. What the case does show is that the weak point in a QR code setup is often the account and the website around it, not the black-and-white square. Use strong sign-in, ask your provider direct questions, and keep your printed addresses on a domain you control.
Sources
- Report URI: world's largest brands infected with malware via Optimizely (updated 17 November 2026; Report URI sells security tools)
- Optimizely status page: incident report
- The Register: Optimizely hack coverage
- BleepingComputer: Optimizely supply-chain attack coverage