Logo
Cybersecurity

Your Website Trusts the Script. Should Your Security Team?

A third-party JavaScript integration can become an attack route even when it loads from a legitimate domain. The recent incident involving 178 organisations shows why script permissions and browser security controls deserve closer scrutiny.

ITSEC AsiaITSEC Asia
|
Nov 18, 2026
Your Website Trusts the Script. Should Your Security Team?

On 16 November 2026, malicious JavaScript was delivered to visitors of websites belonging to 178 organisations through Optimizely Web Experimentation. Security researcher Scott Helme identified 188 infected snippets among 1,611 examined. The affected organisations included major names in finance, retail, technology, media and travel. [1]

The attacker inserted malicious code into customer projects within the experimentation platform. The original JavaScript snippet continued to load from Optimizely's legitimate content delivery domain. This meant that a website could receive compromised code through a source it had already approved.

The payload attempted to replace cryptocurrency wallet addresses, capture payment card details entered into website forms, steal certain browser cookies and take screenshots. It also attempted to deliver exploit code targeting Apple mobile devices. Reuters reported that the extent of successful data theft and the number of affected visitors could not be established. [1][2]

The technical issue goes beyond the compromised vendor. It exposes a weakness in how organisations define trust inside their browsers.

A trusted domain is not a guarantee of trusted code.

Many websites use Content Security Policy (CSP) to tell browsers which sources are permitted to load scripts and send data. A typical policy may allow a trusted vendor's domain because the website needs its functionality.

But a source allowlist answers only one question: where may the browser load code from? It does not establish whether the code coming from that source is safe.

In this incident, the malicious loader arrived through the approved Optimizely domain before attempting to load additional scripts and communicate with attacker-controlled destinations. The initial trusted source therefore became the entry point for the next stages of the attack. [1][3]

Report URI examined CSP configurations on affected websites and found a substantial control gap. Of the 159 organisations assessed, 68 had no CSP. Another 50 had policies that allowed both the malicious payload and data theft. Seventeen allowed the payload to run but blocked its outbound data transmission. Only 24 blocked the payload outright. [1]

This distinction matters. Blocking suspicious outbound connections can reduce data exfiltration, but it may not prevent malicious code from changing information displayed on a page. A cryptocurrency address replacement, for example, can happen entirely within the browser.

Organisations should review CSP as an active security control rather than a one-time configuration task. At a minimum, security teams should:

  • Restrict script-src to explicitly approved sources and assess whether nonce-based policies are appropriate.

  • Review connect-src to limit where browser scripts can transmit data.

  • Avoid allowing unsafe execution features such as unsafe-eval unless there is a documented technical requirement.

  • Monitor changes to third-party scripts and investigate unexpected external domains.

  • Test payment forms, authentication flows and other sensitive browser functions under realistic attack scenarios.

The review should also cover the full web application attack surface. Teams need to understand which pages expose sensitive functions, how scripts interact with those functions and whether weaknesses in application logic could increase the impact of a compromised integration.

Authorised penetration testing can help identify weaknesses in supported web applications, APIs and exposed access paths. Bronyx AI, ITSEC's AI-assisted autonomous penetration testing platform, can support security assessments within its confirmed technical scope. CSP configuration and browser policy reviews should remain part of the organisation's wider application security programme.

A website's security depends on every component that executes within it. If a third-party script can influence a payment form, user session or browser connection, it deserves the same scrutiny as other parts of the application.

Assess your supported digital assets through authorised testing with Bronyx AI: https://bronyx.ai/

References

  1. Report URI, “World's Largest Brands Infected With Malware Via Optimizely,” 16 November 2026. https://blog.report-uri.com/worlds-largest-brands-infected-with-malware-via-optimizely/

  2. Reuters, “Popular websites compromised in bid to steal crypto, target iPhone users,” 17 November 2026. https://www.reuters.com/legal/government/popular-websites-subverted-bid-steal-crypto-target-iphone-users-2026-11-17/

  3. Optimizely World, “Lessons From the Optimizely Web Experimentation Compromise,” 17 November 2026. https://world.optimizely.com/blogs/mark-stott/dates/2026/11/lessons-from-the-optimizely-web-experimentation-compromise

Share this post

You may also like

Your Vendors Hold Your Customer Data. Who Is Securing It?
Cybersecurity

Your Vendors Hold Your Customer Data. Who Is Securing It?

A company can have strong internal security controls and still face a data exposure through an external provider. That risk became visible on 19 November, when JPMorgan Chase, Visa and Mastercard disclosed separate incidents involving third-party service providers. The disclosures raised questions about how customer information is handled outside the systems that companies directly operate. The details differ. JPMorgan Chase said attackers may have accessed marketing data held by vendors, potentially including some customer names and email addresses. Mastercard reported that a limited number of email addresses belonging to a small subset of cardholders in a specific benefits programme had been exposed. Visa said claims were associated with an incident involving a third-party service provider in Asia-Pacific. It said its own systems were not involved and payment data, including card numbers, was unaffected. [1][2] These statements do not establish that all three companies were affected by one breach or shared the same provider. Each disclosure needs to be assessed on its own facts. The companies also said their core banking or

ITSEC AsiaITSEC Asia
|
Nov 20, 2026 — 4 minutes read
The Cybersecurity Talent Pipeline Needs More Than More Graduates
Cybersecurity

The Cybersecurity Talent Pipeline Needs More Than More Graduates

Cybersecurity has no shortage of reasons to attract new talent. There are technical roles, policy roles, incident response, digital forensics, security engineering, governance and an expanding set of jobs around AI. Yet access to those paths isn’t evenly distributed. ITU’s Her CyberTracks programme puts a specific number against the problem: women accounted for 22% of the global cybersecurity workforce in 2025. ITU also identifies unequal access to training, a lack of strong female role models and limited awareness of cybersecurity career options among barriers to greater participation. ITU [https://www.itu.int/en/ITU-D/Cybersecurity/Pages/Skills-Development/Her-CyberTracks.aspx?utm_source=chatgpt.com] The programme’s fourth edition, running from May to October 2026, is designed around that gap. It combines technical and policy training with mentorship, networking and practical exercises. Its Asia-Pacific regional training is scheduled for 12–16 October in Bangkok. ITU [https://www.itu.int/en/ITU-D/Cybersecurity/Pages/Skills-Development/Her-CyberTracks.aspx?utm_source=chatgpt.com] The useful lesson for workforce planning is simple: talent development needs an ecosystem around the learner. TRAINING GETS PEOPLE STARTED. MENTORSHIP HELPS THEM STAY. A cybersecurity course can teach someone how incident response works. It can’t automatically show them what a career in incident response

ITSEC AsiaITSEC Asia
|
Okt 09, 2026 — 3 minutes read
Web Application Penetration Testing Explained: Why Applications Remain a Top Target for Attackers
Cybersecurity

Web Application Penetration Testing Explained: Why Applications Remain a Top Target for Attackers

Web applications have become the foundation of digital business. From customer portals and online banking platforms to e-commerce systems and internal business applications, organizations rely on web technologies to deliver services and create seamless user experiences. Unfortunately, attackers rely on them too. Because web applications are often exposed to the internet and handle sensitive information, they remain one of the most attractive targets for cybercriminals. This is why Web Application Penetration Testing has become an essential part of a modern cybersecurity strategy. WHAT IS WEB APPLICATION PENETRATION TESTING? Web Application Penetration Testing is a security assessment designed to identify and validate vulnerabilities within web applications before malicious actors can exploit them. Unlike automated vulnerability scanning, penetration testing simulates real-world attack techniques to understand how weaknesses could affect an organization's confidentiality, integrity and availability. The objective is not simply to discover vulnerabilities but to determine their actual impact. WHY ARE WEB APPLICATIONS FREQUENTLY TARGETED? Attackers are constantly searching for exposed applications because they often provide direct access to valuable assets. SENSITIVE DATA Web applications commonly process: * Customer

ITSEC AsiaITSEC Asia
|
Jun 15, 2026 — 5 minutes read

Receive weekly
updates on new posts

Subscribe