Brevo: how a third-party script reached 100,000 sites
On 16 September 2026, the security firm Sansec published an analysis of a supply-chain attack through the marketing platform Brevo. On 14 September, for roughly four hours, the scripts Brevo customers embed in their own sites served malicious code. According to Brevo’s statement, the attackers had obtained a long-lived Cloudflare API key with full account permissions that had been hardcoded in the application source code.
The figure that circulated is 100,000 websites. It is worth saying at the outset what it measures: it is Sansec’s estimate of how many sites embed the affected components, derived from a PublicWWW search. It is not a count of compromised sites. That distinction is not a formality — it is exactly the difference between knowing what you have to check and reporting a catastrophe nobody confirmed.
What happened, in the order it happened
The Cloudflare API key was first misused in late August 2026. On 14 September the attackers used it to deploy a Cloudflare Worker that injected code into brevo.com, into sibforms.com, and into the JavaScript files customers load into their own pages.
Sansec measured the window precisely: Brevo served the malware between 16:05:18 and 20:12:53 UTC on 14 September. Brevo’s own timeline gives 16:07–20:30 UTC. The two do not coincide exactly, which is normal when one party measures from outside and the other from its own systems; both describe roughly the same four and a half hours.
Affected files include cdn.brevo.com/js/sdk-loader.js and cdn.brevo.com/js/brevo-conversations.js, with the injected code pulled from cdn subdomains of sendibt1.com. They are listed so you can search your own markup and your own logs, not as indicators to block: the malicious subdomains stopped resolving on 15 September, according to Sansec.
Brevo revoked the compromised key and the credentials created with it, removed the credential from source code, deleted the attacker-controlled hostnames, and purged its edge caches. That last step matters more than it looks: a malicious file left cached at the network edge survives a fix made at the origin.
Two behaviours, depending on who opened the page
The injected script branched on the visitor. For an ordinary visitor it displayed a fake "Cloudflare, verify you are human" screen instructing them to paste and run a command on their own computer. That is the technique known as ClickFix: it does not exploit the browser, it persuades the person to run the command themselves.
For a visitor logged in as an administrator on a WordPress site embedding the widget, the script tried something else: to install and run a plugin. According to reporting, the plugin was titled "Web Media Optimizer", attempted to upload a backdoor from external domains, hid itself from the plugin listing, created persistent backdoor access, and contained a hardcoded authentication key that bypassed password verification.
That second branch is the one that leaves lasting traces. A visitor fooled by ClickFix has a problem on their own machine. An administrator who happened to be logged in during a visit may have a problem in the site, one that remains after Brevo’s scripts went clean again.
What was not confirmed: Brevo acknowledged the attack but did not report successful endpoint compromises, and Sansec stated it could not retrieve the malware archive. There is no public count of sites where the plugin was actually installed.
Why your scanner would not have seen it
The attack lived at the network edge, in a Cloudflare Worker rewriting responses. There was no modified file on your server, no new dependency in your build, no changed version in a lockfile. If your instrumentation watches file integrity at the origin or changes in the code repository, there was nothing there for it to see.
Manual checking would not have helped much either: the window was about four hours, and what was served depended on who opened the page. An administrator testing the site at the wrong moment would have seen a perfectly normal page.
What would have helped are controls you decide on beforehand. Subresource Integrity ties an external file to a known hash, but it does not fit a script the vendor updates frequently, because every legitimate update would break the page. A Content Security Policy would not have stopped a script served from exactly the domain you allowed, but it might have stopped the subsequent load from unexpected domains, if your source list was strict. Said honestly: none of these controls is a guarantee, and their operational cost is real.
The practical conclusion is less technical: every third-party script you load is code running in your visitor’s browser, with your page’s privileges, at somebody else’s discretion. That is an asset, not a marketing configuration line.
What to check now, if you use or used Brevo
- ▸Search your sites’ markup for the affected file names, sdk-loader.js and brevo-conversations.js on cdn.brevo.com, plus any form or conversations widget. Include campaign sites and microsites nobody reviews any more.
- ▸For WordPress sites, search logs for plugin uploads or activations on 14 September 2026 and check the installed plugin list on disk as well as in the interface: the reported plugin hid itself from the listing.
- ▸Check whether any administrator was logged in and opened a page of the site during the reported window. If so, treat the account and the site as a hypothesis to investigate, not as a closed case.
- ▸Rotate administrator passwords, and if you find signs of installation, treat it as an incident rather than as a file cleanup.
- ▸For users who saw the fake verification screen and ran the command, Sansec’s recommendation is an urgent anti-virus scan on that machine. Those people are not necessarily your employees — they are your site’s visitors.
- ▸Note the log retention you actually have. The window is 14 September, and if your access logs are kept for seven days, your ability to answer the question disappears quickly. Record explicitly how far back you were able to search.
The root cause is not Brevo
The element that made this attack possible is described by Brevo itself: an API key with full account permissions, long-lived, written directly into the source code. Each of those three terms matters separately. Full permissions means it allowed creating Workers and DNS records — things unrelated to the application’s function. Long-lived means it did not expire. In the source code means anyone with access to the code had access to it, and rotation was not a routine operation but a code change.
That is exactly the combination most organisations have somewhere. The useful question after this news is not whether you use Brevo, but how many broadly permissioned, non-expiring keys exist in your repositories, who would notice if one were used from somewhere else, and how long a rotation would take if it had to happen today.
Worth stating separately so the two do not blur: on 10 September Brevo disclosed a different incident involving its handling of SAML SSO, through which 138 accounts were accessed, phishing was sent from six accounts, and contacts were exported from 43. Trezor, whose account was among those reached, reported on 11 September that the phishing reached 347,000 user email addresses and that at least 2,500 were compromised. Those figures belong to the SSO incident, not to the 14 September script injection.
Minimum evidence for closure
Awarely Monitor helps track exposures, owners, exceptions, and decision evidence through closure. It does not scan your sites for third-party scripts, inspect pages, detect injected code, or manage API keys. Script inventory, log review, and secret rotation remain with your web tooling, your development process, and your vendor controls.
- ▸An inventory of the third-party scripts loaded by every public site in the organisation, with vendor, purpose, internal owner, and the date of the last review.
- ▸The result of searching for Brevo components across all sites, including campaign and forgotten ones.
- ▸Log-search scope, available retention, the window covered, and the result, with the explicit limits of the investigation.
- ▸For WordPress sites: the plugin list verified on disk as well as in the interface, and the decision taken for each anomaly.
- ▸Rotation decisions: administrator passwords and vendor API keys, with who and when.
- ▸An inventory of your own API keys that carry broad permissions or no expiry, with a rotation plan and an owner, as a direct outcome of this incident.
How to monitor CVEs and get alerts for products in your inventory