Skip to content

Optimizely signup flaw turns SaaS project JS into site-wide script injection (CVE-2026-132224, KEV)

Sources: CISA KEV CVE-2026-132224 (added 2026-11-24, due 2026-11-27, forensic triage required), Optimizely Security Incident Report, Nov 17 2026 (corrected Nov 18/20), Optimizely status incident. KEV classifies it as External Control of Critical State Data (CWE-642) in the account signup flow.

Wave in one line: an attacker exploited the Web Experimentation account signup flow to impersonate existing customer users without stealing any credential, wrote malicious JavaScript into victim Projects, and that JavaScript was then delivered to every visitor of the affected customer websites through the normally trusted cdn.optimizely.com snippet. First malicious write 2026-11-16 07:51 UTC; vendor closed the flaw 16:10 UTC and purged injected code 22:24 UTC the same day. The injected payload targeted card details typed into forms on the site itself and cryptocurrency transfers; cards entered in hosted payment iframes (Stripe, Adyen) were out of the script's reach. Sites with a strong CSP were protected.

Authorized scope only

Everything below is validation guidance for your own sites, owned SaaS test accounts, or written-engagement targets. Never attempt to write project content into a third party's Optimizely account or inject script into a site you do not own.

Why this is worth an operator page

  • The experimentation/analytics snippet is a pre-authorized code-execution channel into every customer page. The attacker needed zero access to any customer; one foothold in the SaaS control plane (here, via signup-flow impersonation) turns the vendor CDN script into same-origin JS on every page that loads it. For bug hunters targeting SaaS vendors that inject snippets (experimentation, tag managers, chat widgets, session recording), the impact ceiling of a control-plane write is browser JS execution on all downstream customer origins, which prices far above a single-tenant account takeover. Audit question for any such vendor: what authenticates a write to the project content your CDN serves?
  • Signup/provisioning is an impersonation surface, not just an account-creation surface. The vendor states users were impersonated "without those users' credentials" and this "was not a credentials breach." Reusable test shape on any SaaS admin surface you are authorized to probe: register through signup/trial provisioning with self-declared identity fields (claimed email domain, account/project identifier, workspace handle), then attempt a content write against the claimed identity's namespace. The decision table: claimed-identity write rejected / silently accepted / accepted after a second step. A silent accept on project JavaScript, tag configuration, or snippet content is a supply-chain finding.
  • Skimming target selection is itself a fingerprint of what defenders missed. The payload harvested card fields typed on the site itself and crypto transfer activity, explicitly not hosted-iframe fields. On your own or approved payment flows, enumerate which card/CVV inputs are same-origin DOM versus third-party iframes: same-origin card fields under any third-party snippet are the crown jewels for this class, and that inventory is a reportable exposure statement even without an active incident.
  • CSP was the differentiator, so CSP coverage is the measurable variable. Vendor confirms strong-CSP sites blocked the injected script. Engagement check: for every page loading cdn.optimizely.com (or any tag manager), record whether an enforcing CSP exists, whether script-src pins nonces/hashes or allows broad hosts, and whether report-to/report-uri actually fires. A snippet page with no CSP is the same finding as an unguarded CDN include.
  • The exposure window is an evidence boundary. All known malicious content lived between 2026-11-16 07:51 and 22:24 UTC. When investigating your own sites, page-archive diffs (Wayback, CDN logs, tag version pins) plus CSP violation reports for unfamiliar script origins in that window are the ground truth; vendor confirmation of affected-Project lists comes from your CSM, so keep your own capture independent.

Validation workflow (owned assets first)

  1. Snippet inventory on your sites: grep templates and tag managers for cdn.optimizely.com/code/js/<accountId>, optimizely-config, and launch snippets; map each account ID to the owning project and business unit. Unknown account IDs on payment pages are a first-class finding.
  2. Project-content diff: fetch the current delivered snippet/active-experiments payload for your account (cdn.optimizely.com request capture, DevTools, or curl of the code URL) and diff against a vendor-known-good baseline or prior capture. Any unexpected mutation in delivered JS is compromise evidence; retain the exact URL, digest, and timestamps.
  3. Same-origin card-field battery: on owned payment pages, classify each card/CVV/crypto-address input: same-origin DOM (script-readable) vs hosted iframe (script-unreachable). Same-origin fields under loaded third-party scripts = report the exposure with the field inventory.
  4. CSP decision table per snippet page: no CSP / report-only CSP / enforcing CSP with broad script-src / enforcing CSP with nonce-hash policy. Prove your canary inline script (a local page you control) is blocked or reported only under the strict configuration.
  5. SaaS-side (authorized vendor programs only): where a bug-bounty program covers Optimizely or comparable snippet vendors, test signup/trial flows for identity-claim acceptance: provision a second owned account claiming a domain or namespace pattern, then attempt project-content writes that should require that identity. Use disposable accounts and your own analytics destinations only.

Reporting heuristics

  • Frame the class as vendor-side write to a trusted CDN-delivered payload: the customer site is not the vulnerable component, the SaaS control plane is, and every customer page is the sink. Include delivered-URL digest, capture time, affected-page list, same-origin payment-field inventory, and CSP state per page.
  • For the vendor program, frame the signup-flow leg as provisioning-time identity impersonation with downstream code delivery, citing the KEV entry (CWE-642) as precedent that this exact trust boundary was exploited in the wild.
  • Keep artifacts minimal: request captures, snippets digests, CSP headers, and field inventories. Never include real cardholder data, session tokens, or customer PII in the report.

Sources: CVE-2026-132224 · KEV catalog 2026.11.24 · Optimizely incident report PDF · Optimizely status page