What happened at Optimizely?
On November 16, 2026, Optimizely reported a security incident involving its Web Experimentation service. According to its advisory, a flaw in the registration process allowed a malicious actor to introduce JavaScript into some customer projects. The vendor says it has fixed the issue and removed the injected scripts. Refer to its latest advisory for scope updates.
Why HTTPS does not make a script trustworthy
TLS protects the confidentiality and integrity of data in transit to the contacted server. If that server provides malicious code, a valid HTTPS connection can still deliver it. The browser may execute such code within the embedding page's context and permissions.
Four practical checks
- Inventory external scripts: list analytics, advertising, chat and experimentation vendors and remove unused dependencies.
- Restrict sources with CSP: deploy and test a meaningful Content Security Policy rather than relying on an overly permissive configuration.
- Use Subresource Integrity where appropriate: SRI verifies expected hashes for static external resources; frequently changing scripts need a different approach.
- Review your vendors: follow security advisories and regularly reassess dependencies.
What can InfraCheck do?
Static HTML and HTTP-header checks can identify external scripts and CSP or SRI attributes, but cannot prove a script has been compromised or detect every dynamically inserted script. Start with web configuration checks using InfraCheck.
Key takeaway
HTTPS is essential, yet website security also depends on third-party code running in visitors' browsers. Begin with an inventory of scripts you truly need.
Primary source
Optimizely — Web Experimentation security advisory, updated November 19, 2026.
Published November 23, 2026.