* [Blog](https://origin-researchcenter.paloaltonetworks.com/blog) * [SASE](https://origin-researchcenter.paloaltonetworks.com/blog/sase/) * [Cybersecurity](https://origin-researchcenter.paloaltonetworks.com/blog/category/cybersecurity/) * The Optimizely Compromise... # The Optimizely Compromise: When Trusted Websites Deliver Malicious Code [](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Forigin-researchcenter.paloaltonetworks.com%2Fblog%2Fsase%2Fthe-optimizely-compromise-when-trusted-websites-deliver-malicious-code%2F) [](https://twitter.com/share?text=The+Optimizely+Compromise%3A+When+Trusted+Websites+Deliver+Malicious+Code&url=https%3A%2F%2Forigin-researchcenter.paloaltonetworks.com%2Fblog%2Fsase%2Fthe-optimizely-compromise-when-trusted-websites-deliver-malicious-code%2F) [](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Forigin-researchcenter.paloaltonetworks.com%2Fblog%2Fsase%2Fthe-optimizely-compromise-when-trusted-websites-deliver-malicious-code%2F&title=The+Optimizely+Compromise%3A+When+Trusted+Websites+Deliver+Malicious+Code&summary=&source=) [](https://www.paloaltonetworks.com//www.reddit.com/submit?url=https://origin-researchcenter.paloaltonetworks.com/blog/sase/the-optimizely-compromise-when-trusted-websites-deliver-malicious-code/&ts=markdown) \[\](mailto:?subject=The Optimizely Compromise: When Trusted Websites Deliver Malicious Code) Link copied By [Tom Goldberg](https://www.paloaltonetworks.com/blog/author/tom-goldberg/?ts=markdown "Posts by Tom Goldberg") Nov 25, 2026 5 minutes [Cybersecurity](https://www.paloaltonetworks.com/blog/category/cybersecurity/?ts=markdown) [Product Features](https://www.paloaltonetworks.com/blog/sase/category/product-features/?ts=markdown) [Products and Services](https://www.paloaltonetworks.com/blog/category/products-and-services/?ts=markdown) [Secure Browser](https://www.paloaltonetworks.com/blog/sase/category/secure-browser/?ts=markdown) [Threat Intelligence](https://www.paloaltonetworks.com/blog/category/threat-intelligence-1/?ts=markdown) [Cybersecurity](https://www.paloaltonetworks.com/blog/tag/cybersecurity/?ts=markdown) [Prisma SASE](https://www.paloaltonetworks.com/blog/tag/prisma-sase/?ts=markdown) [Secure Browser](https://www.paloaltonetworks.com/blog/tag/secure-browser/?ts=markdown) On November 16, 2026, visitors to legitimate, trusted websites were exposed to code designed to steal sensitive information. The code was delivered through the CDN of [Optimizely Web Experimentation](https://pages.optimizely.com/rs/947-RKE-048/images/Security%20Incident%20Report%20-%20Optimizely%20Web%20Experimentation%20-%20Nov%2017%202026.pdf), a widely used website optimization service. According to Optimizely, attackers exploited a vulnerability in its service to inject code that targeted payment card information and cryptocurrency transactions on affected websites. The incident highlights a critical security challenge. Even legitimate websites can expose visitors to malicious code when the third-party services they rely on are compromised. Visitors did not need to navigate to a suspicious website or click a malicious link. This is precisely the kind of threat [Prisma Browser](https://www.paloaltonetworks.com/sase/prisma-browser)'s Advanced Web Protection is designed to address. By analyzing content and scripts delivered to the browser, rather than relying solely on source reputation, Prisma Browser can identify and block malicious activity even when it originates from trusted infrastructure. And Optimizely is far from an isolated example. Palo Alto Networks Unit 42 researchers have uncovered similar attacks exploiting trusted websites and services, while Advanced Web Protection has already detected and blocked related threats in real-world environments. ## What Happened in the Optimizely Attack? Optimizely Web Experimentation enables organizations to optimize their websites by loading JavaScript from *cdn.optimizely.com*. Its scripts are routinely loaded and executed by websites using the service. According to Optimizely's incident report, attackers exploited a vulnerability in its account signup process to impersonate users on targeted customer accounts and inject malicious JavaScript delivered to visitors of affected websites. The injected script targeted two types of activity: * **Payment card information:** Card details entered directly into forms on affected pages. * **Cryptocurrency transactions:** Cryptocurrency transfer activity occurring on affected pages. Optimizely reported detecting the activity the same day, closing the vulnerability within hours, and removing the injected code. The incident demonstrates how third-party services can become a delivery mechanism for attacks, even when the websites using them have not been directly compromised. ## The Security Blind Spot: When Trusted Sources Deliver Malicious Content Traditional web security often uses URL categorization, domain reputation, and other indicators to determine whether a destination is trustworthy. These remain important layers of protection, but they are not sufficient on their own. In the Optimizely attack, malicious JavaScript was delivered through a legitimate CDN to visitors of trusted websites. What had changed was the content being delivered. This creates a challenge for security controls that rely heavily on reputation or lack visibility into scripts executing inside the browser. Even network security solutions that inspect web traffic may have limited visibility into dynamically assembled content or activity occurring after a page loads. To address this risk, organizations need security that goes beyond determining whether a website is trusted. They need to evaluate the content and behavior delivered to the browser. ## Optimizely Isn't an Isolated Incident: Unit 42 Has Uncovered Similar Threats Unit 42 researchers have documented other attacks in which legitimate websites and services were used to deliver malicious content. In May 2026, Unit 42 reported [a campaign involving obfuscated WebSocket backdoors](https://x.com/Unit42_Intel/status/2050367689542000737) that injected credit card skimmers into hundreds of compromised websites. Like Optimizely, the attack targeted sensitive payment information from visitors to legitimate websites. [In another campaign](https://x.com/Unit42_Intel/status/2100709910275096843), attackers compromised more than 350 websites running on a leading content management platform and used jsDelivr, a widely trusted open-source CDN, to stage malicious payloads. The campaign employed ClickFix techniques to manipulate users into executing malicious commands. While these campaigns differ in technique and objective, they demonstrate the same security challenge. Legitimate websites and services can become vehicles for delivering malicious content. ## Prisma Browser's Advanced Web Protection Changes the Equation Prisma Browser addresses this challenge by extending threat protection into the browser, where web content is processed and executed. Advanced Web Protection analyzes page content, scripts, and their components in real time, helping detect malicious activity regardless of whether it originates from an unfamiliar website, a compromised legitimate site, or a trusted third-party service. This provides three important security advantages: * **Protection based on content, not just reputation:** Advanced Web Protection evaluates scripts and content rather than relying solely on domain reputation. A malicious script delivered through a trusted CDN can be evaluated for the same threats as one originating from an unknown domain, helping detect attacks delivered through legitimate websites. * **Visibility into threats that emerge inside the browser:** Some attacks involve scripts dynamically loaded, assembled, or executed after a page loads. By analyzing content within the browser, Advanced Web Protection can identify malicious components and behaviors that may not be apparent from network-level indicators alone. * **Proven protection against related attacks in production environments:** As detailed in our recent [PHP2Shell blog](https://www.paloaltonetworks.com/blog/sase/php2shell-is-being-exploited-how-prisma-browser-protects-users-from-compromised-websites/), Advanced Web Protection has detected and blocked malicious activity on legitimate, compromised websites, including credit card skimmers, malicious script injections, and ClickFix attacks. ## Protecting Users Beyond the Websites You Control Organizations using Optimizely Web Experimentation should verify whether their websites were affected and assess potential exposure during the incident window. But securing an organization's own websites is only part of the challenge. Employees access thousands of websites and applications their organizations do not control, any of which could become compromised. The Optimizely compromise is a reminder that the next web threat may not come from a suspicious website. It may come from one your employees already trust. Learn more about Prisma Browser Advanced Web Protection. [Schedule a demo](https://www.paloaltonetworks.com/sase/prisma-browser/contact-us). *** ** * ** *** ## Related Blogs ### [Announcement](https://www.paloaltonetworks.com/blog/category/announcement/?ts=markdown), [Cybersecurity](https://www.paloaltonetworks.com/blog/category/cybersecurity/?ts=markdown), [Next-Generation Firewalls](https://www.paloaltonetworks.com/blog/network-security/category/next-generation-firewalls/?ts=markdown), [Products and Services](https://www.paloaltonetworks.com/blog/category/products-and-services/?ts=markdown), [Secure Browser](https://www.paloaltonetworks.com/blog/sase/category/secure-browser/?ts=markdown) [#### Expand Security From Network to User: What's New With Prisma Browser and Next-Gen Firewall In PAN-OS 12.2](https://origin-researchcenter.paloaltonetworks.com/blog/sase/expand-security-from-network-to-user-whats-new-with-prisma-browser-and-next-gen-firewall-in-pan-os-12-2/) ### [Cybersecurity](https://www.paloaltonetworks.com/blog/category/cybersecurity/?ts=markdown), [Products and Services](https://www.paloaltonetworks.com/blog/category/products-and-services/?ts=markdown), [Secure Browser](https://www.paloaltonetworks.com/blog/sase/category/secure-browser/?ts=markdown), [Strata Network Security Platform](https://www.paloaltonetworks.com/blog/network-security/category/strata-network-security-platform/?ts=markdown) [#### Surgical Web Security: Control Elements and Widgets with Prisma Browser](https://origin-researchcenter.paloaltonetworks.com/blog/sase/surgical-web-security-control-elements-and-widgets-with-prisma-browser/) ### [AI and Cybersecurity](https://www.paloaltonetworks.com/blog/security-operations/category/ai-and-cybersecurity/?ts=markdown), [Announcement](https://www.paloaltonetworks.com/blog/category/announcement/?ts=markdown), [Cloud Delivered Security Services](https://www.paloaltonetworks.com/blog/network-security/category/cloud-delivered-security-services/?ts=markdown), [Cybersecurity](https://www.paloaltonetworks.com/blog/category/cybersecurity/?ts=markdown), [Product Features](https://www.paloaltonetworks.com/blog/security-operations/category/product-features/?ts=markdown), [Product Features](https://www.paloaltonetworks.com/blog/sase/category/product-features/?ts=markdown), [Products and Services](https://www.paloaltonetworks.com/blog/category/products-and-services/?ts=markdown), [Secure Browser](https://www.paloaltonetworks.com/blog/sase/category/secure-browser/?ts=markdown), [Strata Network Security Platform](https://www.paloaltonetworks.com/blog/network-security/category/strata-network-security-platform/?ts=markdown) [#### PHP2Shell is Being Exploited: How Prisma Browser Protects Users from Compromised Websites](https://origin-researchcenter.paloaltonetworks.com/blog/sase/php2shell-is-being-exploited-how-prisma-browser-protects-users-from-compromised-websites/) ### [Agent Security](https://www.paloaltonetworks.com/blog/ai-security/category/agent-security/?ts=markdown), [AI and Cybersecurity](https://www.paloaltonetworks.com/blog/security-operations/category/ai-and-cybersecurity/?ts=markdown), [AI Governance](https://www.paloaltonetworks.com/blog/ai-security/category/ai-governance/?ts=markdown), [AI Security](https://www.paloaltonetworks.com/blog/category/ai-security/?ts=markdown), [Assess AI Risks](https://www.paloaltonetworks.com/blog/ai-security/category/assess-ai-risks/?ts=markdown), [Cybersecurity](https://www.paloaltonetworks.com/blog/category/cybersecurity/?ts=markdown), [Develop AI Safely](https://www.paloaltonetworks.com/blog/ai-security/category/develop-ai-safely/?ts=markdown), [Endpoint security](https://www.paloaltonetworks.com/blog/security-operations/category/endpoint-security/?ts=markdown), [Must-Read Articles](https://www.paloaltonetworks.com/blog/security-operations/category/must-read-articles/?ts=markdown), [Products and Services](https://www.paloaltonetworks.com/blog/category/products-and-services/?ts=markdown), [Threat Intelligence](https://www.paloaltonetworks.com/blog/category/threat-intelligence-1/?ts=markdown) [#### How a Developer Endpoint Became the Path to Binance's $6.3B Heist](https://origin-researchcenter.paloaltonetworks.com/blog/security-operations/how-a-developer-endpoint-became-the-path-to-binances-6-3b-heist/) ### [Product Features](https://www.paloaltonetworks.com/blog/sase/category/product-features/?ts=markdown), [Products and Services](https://www.paloaltonetworks.com/blog/category/products-and-services/?ts=markdown) [#### Solving Encrypted Traffic Challenges with Prisma Access Browser](https://origin-researchcenter.paloaltonetworks.com/blog/sase/solving-encrypted-traffic-challenges-with-prisma-access-browser/) ### [Product Features](https://www.paloaltonetworks.com/blog/sase/category/product-features/?ts=markdown), [Products and Services](https://www.paloaltonetworks.com/blog/category/products-and-services/?ts=markdown) [#### Secure Browsing Demands More Than Extensions](https://origin-researchcenter.paloaltonetworks.com/blog/sase/secure-browsing-demands-more-than-extensions/) ### Subscribe to Sase Blogs! Sign up to receive must-read articles, Playbooks of the Week, new feature announcements, and more. ![spinner](https://origin-researchcenter.paloaltonetworks.com/blog/wp-content/themes/panwblog2023/dist/images/ajax-loader.gif) Sign up Please enter a valid email. By submitting this form, you agree to our [Terms of Use](https://www.paloaltonetworks.com/legal-notices/terms-of-use?ts=markdown) and acknowledge our [Privacy Statement](https://www.paloaltonetworks.com/legal-notices/privacy?ts=markdown). Please look for a confirmation email from us. If you don't receive it in the next 10 minutes, please check your spam folder. This site is protected by reCAPTCHA and the Google [Privacy Policy](https://policies.google.com/privacy) and [Terms of Service](https://policies.google.com/terms) apply. {#footer} {#footer} Products and Services * [AI-Powered Network Security Platform](https://www.paloaltonetworks.com/network-security?ts=markdown) * [Secure AI by Design](https://www.paloaltonetworks.com/ai-security?ts=markdown) * [Prisma AIRS](https://www.paloaltonetworks.com/ai-security/prisma-airs?ts=markdown) * [AI Access Security](https://www.paloaltonetworks.com/sase/ai-access-security?ts=markdown) * [Cloud Delivered Security Services](https://www.paloaltonetworks.com/network-security/security-subscriptions?ts=markdown) * [Advanced Threat Prevention](https://www.paloaltonetworks.com/network-security/advanced-threat-prevention?ts=markdown) * [Advanced URL Filtering](https://www.paloaltonetworks.com/network-security/advanced-url-filtering?ts=markdown) * [Advanced WildFire](https://www.paloaltonetworks.com/network-security/advanced-wildfire?ts=markdown) * [Advanced DNS Security](https://www.paloaltonetworks.com/network-security/advanced-dns-security?ts=markdown) * [Enterprise Data Loss Prevention](https://www.paloaltonetworks.com/sase/enterprise-data-loss-prevention?ts=markdown) * [Enterprise IoT Security](https://www.paloaltonetworks.com/network-security/enterprise-device-security?ts=markdown) * [Medical IoT Security](https://www.paloaltonetworks.com/network-security/medical-device-security?ts=markdown) * [Industrial OT Security](https://www.paloaltonetworks.com/network-security/ot-security-solution?ts=markdown) * [SaaS Security](https://www.paloaltonetworks.com/sase/saas-security?ts=markdown) * [Next-Generation Firewalls](https://www.paloaltonetworks.com/network-security/next-generation-firewall?ts=markdown) * [Hardware Firewalls](https://www.paloaltonetworks.com/network-security/hardware-firewall-innovations?ts=markdown) * [Software Firewalls](https://www.paloaltonetworks.com/network-security/software-firewalls?ts=markdown) * [Strata Cloud Manager](https://www.paloaltonetworks.com/network-security/strata-cloud-manager?ts=markdown) * [SD-WAN for NGFW](https://www.paloaltonetworks.com/network-security/sd-wan-subscription?ts=markdown) * [PAN-OS](https://www.paloaltonetworks.com/network-security/pan-os?ts=markdown) * [Panorama](https://www.paloaltonetworks.com/network-security/panorama?ts=markdown) * [Secure Access Service Edge](https://www.paloaltonetworks.com/sase?ts=markdown) * [Prisma SASE](https://www.paloaltonetworks.com/sase?ts=markdown) * [Application Acceleration](https://www.paloaltonetworks.com/sase/app-acceleration?ts=markdown) * [Autonomous Digital Experience Management](https://www.paloaltonetworks.com/sase/adem?ts=markdown) * [Enterprise DLP](https://www.paloaltonetworks.com/sase/enterprise-data-loss-prevention?ts=markdown) * [Prisma Access](https://www.paloaltonetworks.com/sase/access?ts=markdown) * [Prisma Browser](https://www.paloaltonetworks.com/sase/prisma-browser?ts=markdown) * [Prisma SD-WAN](https://www.paloaltonetworks.com/sase/sd-wan?ts=markdown) * [Remote Browser Isolation](https://www.paloaltonetworks.com/sase/remote-browser-isolation?ts=markdown) * [SaaS Security](https://www.paloaltonetworks.com/sase/saas-security?ts=markdown) * [AI-Driven Security Operations Platform](https://www.paloaltonetworks.com/cortex?ts=markdown) * [Cloud Security](https://www.paloaltonetworks.com/cortex/cloud?ts=markdown) * [Cortex Cloud](https://www.paloaltonetworks.com/cortex/cloud?ts=markdown) * [Application Security](https://www.paloaltonetworks.com/cortex/cloud/application-security?ts=markdown) * [Cloud Posture Security](https://www.paloaltonetworks.com/cortex/cloud/cloud-posture-security?ts=markdown) * [Cloud Runtime Security](https://www.paloaltonetworks.com/cortex/cloud/runtime-security?ts=markdown) * [Prisma Cloud](https://www.paloaltonetworks.com/prisma/cloud?ts=markdown) * [AI-Driven SOC](https://www.paloaltonetworks.com/cortex?ts=markdown) * [Cortex XSIAM](https://www.paloaltonetworks.com/cortex/cortex-xsiam?ts=markdown) * [Cortex XDR](https://www.paloaltonetworks.com/cortex/cortex-xdr?ts=markdown) * [Cortex XSOAR](https://www.paloaltonetworks.com/cortex/cortex-xsoar?ts=markdown) * [Cortex Xpanse](https://www.paloaltonetworks.com/cortex/cortex-xpanse?ts=markdown) * [Unit 42 Managed Detection \& Response](https://www.paloaltonetworks.com/unit42/respond/managed-detection-response?ts=markdown) * [Managed XSIAM](https://www.paloaltonetworks.com/cortex/managed-xsiam?ts=markdown) * Observability * [Cortex XCOR](https://www.paloaltonetworks.com/cortex/xcor?ts=markdown) * [Next-Generation Identity Security](https://www.paloaltonetworks.com/idira?ts=markdown) * [Privileged Access Management](https://www.paloaltonetworks.com/idira/human/privileged-access-management?ts=markdown) * [Identity and Access Management](https://www.paloaltonetworks.com/idira/human/identity-and-access-management?ts=markdown) * [Endpoint Privilege Manager](https://www.paloaltonetworks.com/idira/human/endpoint-privilege-manager?ts=markdown) * [Identity Governance](https://www.paloaltonetworks.com/idira/human/identity-governance?ts=markdown) * [Workforce Password Management](https://www.paloaltonetworks.com/idira/human/workforce-password-management?ts=markdown) * [Agentic Identities](https://www.paloaltonetworks.com/idira/agentic?ts=markdown) * [Secrets Management](https://www.paloaltonetworks.com/idira/machine/secrets-management?ts=markdown) * [Unified Secrets Governance](https://www.paloaltonetworks.com/idira/machine/unified-secrets-governance?ts=markdown) * [Application Credentials Delivery](https://www.paloaltonetworks.com/idira/machine/application-credentials-delivery?ts=markdown) * [Vendor Privileged Access](https://www.paloaltonetworks.com/idira/human/vendor-privileged-access?ts=markdown) * [Threat Intel and Incident Response Services](https://www.paloaltonetworks.com/unit42?ts=markdown) * [Prepare for Emerging Risks](https://www.paloaltonetworks.com/unit42/prepare-for-emerging-risks/continuous-frontier-ai-defense?ts=markdown) * [Strengthen Your Defenses](https://www.paloaltonetworks.com/unit42/strengthen-your-defenses?ts=markdown) * [Build Your Security Strategy](https://www.paloaltonetworks.com/unit42/build-your-security-strategy?ts=markdown) * [Understand the Adversary](https://www.paloaltonetworks.com/unit42/threat-intelligence?ts=markdown) * [Respond to a Cyber Attack](https://www.paloaltonetworks.com/unit42/respond?ts=markdown) Company * [About Us](https://www.paloaltonetworks.com/about-us?ts=markdown) * [Careers](https://jobs.paloaltonetworks.com/en/) * [Contact Us](https://www.paloaltonetworks.com/company/contact-sales?ts=markdown) * [Corporate Responsibility](https://www.paloaltonetworks.com/about-us/corporate-responsibility?ts=markdown) * [Customers](https://www.paloaltonetworks.com/customers?ts=markdown) * [Investor Relations](https://investors.paloaltonetworks.com/) * [Location](https://www.paloaltonetworks.com/about-us/locations?ts=markdown) * [Newsroom](https://www.paloaltonetworks.com/company/newsroom?ts=markdown) Popular Links * [Blog](https://www.paloaltonetworks.com/blog/?ts=markdown) * [Communities](https://www.paloaltonetworks.com/communities?ts=markdown) * [Content Library](https://www.paloaltonetworks.com/resources?ts=markdown) * [Cyberpedia](https://www.paloaltonetworks.com/cyberpedia?ts=markdown) * [Event Center](https://events.paloaltonetworks.com/) * [Manage Email Preferences](https://start.paloaltonetworks.com/preference-center) * [Products A-Z](https://www.paloaltonetworks.com/products/products-a-z?ts=markdown) * [Product Certifications](https://www.paloaltonetworks.com/legal-notices/trust-center/certifications?ts=markdown) * [Report a Vulnerability](https://www.paloaltonetworks.com/security-disclosure?ts=markdown) * [Sitemap](https://www.paloaltonetworks.com/sitemap?ts=markdown) * [Tech Docs](https://docs.paloaltonetworks.com/) * [Unit 42](https://unit42.paloaltonetworks.com/) * [Do Not Sell or Share My Personal Information](https://panwedd.exterro.net/portal/dsar.htm?target=panwedd) ![Palo Alto Networks Logo](https://www.paloaltonetworks.com/etc/clientlibs/clean/imgs/pan-logo-dark.svg) * [Privacy](https://www.paloaltonetworks.com/legal-notices/privacy?ts=markdown) * [Trust Center](https://www.paloaltonetworks.com/legal-notices/trust-center?ts=markdown) * [Terms of Use](https://www.paloaltonetworks.com/legal-notices/terms-of-use?ts=markdown) * [Documents](https://www.paloaltonetworks.com/legal?ts=markdown) Copyright © 2026 Palo Alto Networks. All Rights Reserved * [![Youtube](https://www.paloaltonetworks.com/etc/clientlibs/clean/imgs/social/youtube-black.svg)](https://www.youtube.com/user/paloaltonetworks) * [![Podcast](https://www.paloaltonetworks.com/content/dam/pan/en_US/images/icons/podcast.svg)](https://www.paloaltonetworks.com/podcasts/threat-vector?ts=markdown) * [![Facebook](https://www.paloaltonetworks.com/etc/clientlibs/clean/imgs/social/facebook-black.svg)](https://www.facebook.com/PaloAltoNetworks/) * [![LinkedIn](https://www.paloaltonetworks.com/etc/clientlibs/clean/imgs/social/linkedin-black.svg)](https://www.linkedin.com/company/palo-alto-networks) * [![Twitter](https://www.paloaltonetworks.com/etc/clientlibs/clean/imgs/social/twitter-x-black.svg)](https://twitter.com/PaloAltoNtwks) * EN Select your language