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.

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.

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.

  1. 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.
  2. Look for sign-in protections. Ask whether the dashboard offers two-factor sign-in, and use it wherever it exists.
  3. Use a unique password. A password manager costs nothing and limits the damage if one site's page is ever compromised.
  4. 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.
  5. 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.
  6. 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

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:

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