Third-party script authority is the decision about who can change the code the browser executes on your production pages, and what in your architecture would notice if they did. On November 16, 2026, that decision was tested through Optimizely Web Experimentation, an A/B testing platform whose customers load a vendor-hosted JavaScript snippet on their pages. Report URI identified 188 infected snippets associated with 178 organizations, served through the trusted Optimizely delivery path. This post is not about whether Optimizely failed. It is about what approving a script origin actually delegates, because a trusted origin is a delivery authorization, not proof of executable-content integrity.
What Optimizely and Report URI Each Establish
Two sources carry the facts. Optimizely's status page is the vendor's account. Report URI's incident analysis is an outside observation from a company that sells the monitoring it recommends, so its observations are attributed and its conclusions are not adopted. This post does not merge the two accounts into one timeline and labels its own conclusions as analysis.
| Source | What it establishes | What it does not establish |
|---|---|---|
| Optimizely status page (updates of Nov 17 and Nov 18) | An unauthorized party exploited a flaw in the Web Experimentation account signup flow, used it to impersonate users on targeted customer accounts, and inserted malicious JavaScript into those customers' projects. Optimizely says it closed the vulnerability within three hours of detection, removed the injected code from all affected projects, and that "This was not a credentials breach." It states that less than 5% of its customers were impacted. | The number of customers, so the 5% has no denominator. A detection timestamp; the status-page update does not provide one. How the impersonation worked. How many visitors received the code. |
| Report URI incident analysis (Nov 16, updated Nov 17) | Malicious code written into the Project JavaScript field of customer projects, with the rest of each snippet unchanged and still served from cdn.optimizely.com. 188 infected snippets belonging to 178 organizations, found by checking 1,611 snippets. First injection seen at 04:21 UTC on Nov 16. Report URI states this was not CDN cache poisoning. |
How write access was obtained. The true total, which Report URI says is likely higher. How many cards, cookies or devices were affected. |
| This post (analysis) | What customers had delegated before the incident began. | Anything about Optimizely's internal controls. |
Both accounts agree that malicious JavaScript was inserted into customer projects and delivered through Optimizely's own path. On the route in, Optimizely states one and Report URI says it does not know how write access was obtained; this post keeps both statements as written. What neither account settles is the decision the incident tests: how much authority to delegate to an external platform over your own production surface.
A Trusted Origin Is Not Trusted Content
A content security policy that allows an origin answers one question: may the browser load script from this host. In this incident the host was the vendor's own CDN, serving files under the vendor's certificate to sites that already trusted it. Report URI states that allowing that host was never going to help, because the malicious code arrived from the trusted host itself. The origin was what each customer had approved. The content was not.
Three controls answer three different questions.
| Layer | The question it answers | What it cannot tell you |
|---|---|---|
| Origin trust | May the browser load script from this host? | Whether what the host serves is what you approved. |
| Content trust | Is this executable content what an accountable party approved? | What the content does once it runs. |
| Execution restrictions | What may a loaded script reach, run or send? | Whether the script is the one you intended to run. |
A script tag and an allow-listed host establish delivery trust. A signed contract establishes a contractual relationship, not content integrity. None records who may change the content behind the host, which is the question third-party script authority answers.
Third-Party Script Authority Is a Delegation Decision
Approving a vendor script creates four trust assumptions, whether or not anyone writes them down:
- Delivery of executable code from an approved origin.
- Whatever authority exists to change the content behind that delivery path.
- Your site's reliance on that content as code that runs wherever the script is included.
- The browser's treatment of that code as part of your page. Extension update authority asks who may change executable code on an engineering endpoint. This is the same question on a production surface, where the party that executes the code is a visitor.
The incident adds a fifth fact. Per Report URI, Optimizely customers can write custom code into a Project JavaScript field that runs on pages where the project snippet is deployed, and the attacker wrote there. Per Optimizely, the attacker reached customer projects by impersonating users on targeted accounts. Whoever can write that field, or act as someone who can, holds third-party script authority over your production pages: they change what the pages execute without a deployment on your side. Workflow write access argues that the file defining a workflow is the real authority boundary. A customer-writable code field on a vendor-hosted path is the same kind of boundary, and it executes in your visitors' browsers instead of in your pipeline.
What the 256-Host CSP Crawl Shows, and What It Does Not
Report URI crawled 256 of the affected organizations' own hosts and evaluated each host's content security policy against what the payload needed. Its published results give four categories that total 159 hosts. The remaining 97 are not reported in those results, and this post draws no conclusion about them. Report URI's 15% figure is 24 of the 159 hosts in those four categories.
| Report URI category | Hosts | What it shows |
|---|---|---|
| No CSP at all | 68 | No policy-based restriction was observed. |
| Policy allowed the payload and the data theft | 50 | The observed policy did not stop the reported behavior. |
Payload ran; connect-src blocked the data theft; address swapping still worked |
17 | A restriction on outbound destinations did not stop in-page behavior. |
| Payload blocked | 24 | A restrictive script-src stopped the payload in these observations. |
Report URI attributes the 24 blocked payloads to restrictive script-src policies. It names two common settings that let the payload through: 'strict-dynamic', and 'unsafe-eval'through an inline fallback.
Treat this as an observation about these policies and this payload, not a rate of exposure or protection for anyone else's site. It does not show that any policy would or would not have stopped the incident on your pages. It does show that the layers separate in practice: the host allow-list did not distinguish the malicious content from the approved vendor script, the connect-src restriction stopped part of the reported data theft while in-page manipulation continued, and Report URI observed 24 hosts where a restrictive script-src blocked the payload.
The Decision Before You Approve a Vendor Script
An approval should leave a record someone else can challenge. The SaaS control plane describes authority accumulating one approved integration at a time; a script approval is one more. The Third-Party Script Trust Decision Record below records third-party script authority by asking the approver to name the authority behind the host.
| Field | Required question | The record must name |
|---|---|---|
| 1. Business purpose | Why must this script run on production pages? | The business function and the owner who loses it if the script is removed. |
| 2. Execution scope | Which pages, users and data does it reach? | Pages and data the script can access, including form fields and browser storage. Identify sensitive fields and the applicable access restrictions. |
| 3. Content authority | Who can change the executable content? | Vendor roles and systems that can alter what is served, and the vendor's change record. |
| 4. Write authority | Which of your accounts, roles, tokens and integrations can edit the script configuration? | Each principal, how it authenticates and who reviews its activity. |
| 5. Delivery trust | Which origins may deliver the script? | The exact hosts, including any served from your own domain by the vendor's project. |
| 6. Integrity | How would you know the content changed? | The record you would consult, its history and who watches it. |
| 7. Behavioral limits | What may the loaded script reach, run and send? | Enforced restrictions on script sources, outbound destinations and eval or inline execution, with report-only policies marked as such. |
| 8. Failure mode | If the content were hostile for a day, what could it read, change or send? | The data and actions in scope from row 2, and what can leave the page. |
| 9. Revocation | Can you stop execution without waiting for the vendor? | The control you operate, who may use it and how long it takes. |
| 10. Ownership | Who approves changes and when is the record reviewed? | A named owner and a trigger, such as a vendor incident or a scope change. |
Rows 3 and 9 are separate controls. Row 3 asks whether the vendor can change the script. Row 9 asks whether you can stop it from running. A record that fills the first and leaves the second blank has documented the exposure without making the decision.
What the Record Cannot Settle
The record cannot tell you how an attacker obtained write access to a vendor's customer projects. Optimizely says impersonation through its signup flow, and Report URI says it does not know; only the vendor can answer, and the record's job is to make you ask. It cannot size the population: Optimizely's less-than-5% has no denominator, Report URI says its count is likely low, and neither source says how many visitors were exposed. It does not choose a technical control, because whether a policy would have stopped this payload depends on the policy and the payload, and the only way to know is to test yours. It does not price removal either; row 9 only makes you know the cost first.
Architect's Verdict
Third-party script authority is the decision about who can change what the browser executes on your pages, and a trusted origin is a delivery authorization, not proof of executable-content integrity. The Optimizely incident is the evidence, but the condition existed before it: a customer-writable field on a vendor-hosted path decides what the browser runs.
The architectural gap is an approval model that records a hostname but not the authority behind it. The allow-list entry for the vendor's host worked as designed; it could not ask who was allowed to change what that host served. In Report URI's crawl, only restrictions on what the loaded script could load or send changed any outcome.
Treat third-party script authority as two answers on the record: the vendor's ability to change the script, and your ability to stop it. Review both when the vendor has an incident, not when the contract renews.
You approved a hostname. The attacker used the authority behind it.
Additional Resources
- Cloud Architecture Strategy — the Cloud Strategy pillar hub: dependency, control-plane and governance decisions for platform and vendor relationships.
- Extension Update Authority Decides What Runs on the Endpoint. Uninstalling Doesn't Undo It. — who governs the channel that changes executable code on an engineering endpoint; this post asks the same question on a production surface.
- Your Cloud Isn't Compromised. Your Vendor Is. Now What? — vendor authority that sits inside the customer's boundary even when the vendor's security fails.
- The SaaS Control Plane Problem — how authority accumulates one approved integration at a time.
- Workflow Write Access Is Secret Read Access. GhostAction Showed Who Holds It. — why the file that defines a workflow is the authority boundary; the closest analogue to a customer-writable script field.
- Report URI: World's Largest Brands Infected With Malware Via Optimizely — the outside analysis: affected snippets, the Project JavaScript finding and the 256-host CSP crawl.
- Optimizely Service Status: Web Experimentation Security Incident — the vendor's incident notice and November 18 update.
Originally published at rack2cloud.com



Top comments (0)