Attackers Abuse Brevo CDN and DNS to Inject Malicious JavaScript Into Customer Websites

The campaign reportedly targeted visitors through Brevo’s embedded tracker, chat widget, hosted forms, and unsubscribe pages.

The incident appears larger than Brevo’s September 10 disclosure, which said six customer accounts were compromised. Four days later, malicious code was reportedly served from Brevo-linked domains between 16:05 and 20:13 UTC on September 14.

SEO keyphrase synonyms include Brevo CDN JavaScript injection, Brevo DNS abuse attack, malicious website script injection, CDN supply-chain attack, customer website compromise, and third-party JavaScript attack.

Brevo CDN JavaScript Injection

Sansec found an injected script loading malware from attacker-controlled subdomains under sendibt1.com, a legitimate Brevo email-tracking domain.

The modified scripts appended code that loaded f.js from domains such as cdn2.sendibt1.com, cdn4.sendibt1.com, and cdn11.sendibt1.com.

The malware used two attack paths. If it detected that a visitor was logged in as a WordPress administrator, it attempted to install a WordPress plugin through the victim’s existing admin session.

The plugin archive was hosted at cdn10.sendibt1.com/p/wm.zip. Although researchers did not recover the plugin, it may have acted as a backdoor.

Other visitors received a ClickFix-style overlay. The fake prompt told users to prove they were human by copying and running a command. Such scams trick victims into manually executing malicious commands on their own computers.

The malware reportedly avoided bots, automated scanners, developers, and crawlers, making detection harder.

Researchers said the campaign may have involved unauthorized access to Brevo’s Cloudflare account. The malicious loader subdomains were created under sendibt1.com, while Brevo’s major domains use Cloudflare DNS.

Sansec also noted that the compromised JavaScript files kept the same Last-Modified timestamps before, during, and after the incident. This could indicate that attackers dynamically altered responses instead of changing source files directly.

Cloudflare Workers and Snippets can modify web content dynamically, although Brevo has not publicly confirmed Cloudflare account compromise.

Brevo CDN JavaScript Injection (Source: sansec)
Brevo CDN JavaScript Injection (Source: sansec)

Brevo removed the malicious content, and the identified cdn*.sendibt1.com hosts stopped resolving on September 15.

However, organizations that used Brevo’s tracker, chat widget, or hosted forms during the affected window should investigate for compromise.

WordPress administrators should check access logs for suspicious requests to /wp-admin/update.php?action=upload-plugin and /wp-admin/plugins.php?action=activate on September 14.

They should also inspect installed plugin directories for unexpected files or plugins hidden from the WordPress admin panel.

Website owners should avoid blocking the apex sendibt1.com domain because it is used for legitimate Brevo email tracking and blocking it could disrupt campaign analytics, Sansec said.

Indicators of Compromise (IOCs)

IOC TypeIndicatorDescription / Status
Compromised JavaScripthttps://cdn.brevo.com/js/sdk-loader.jsBrevo SDK loader observed with an injected line that loaded attacker-controlled f.js malware
Compromised JavaScripthttps://conversations-widget.brevo.com/brevo-conversations.jsBrevo Conversations/chat-widget JavaScript observed with malicious script inj

Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team 

Varshini
Varshini
Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies..

Trending News

Related Stories