Netlify Security Research PoC
FULL ATO
High — postMessage XSS → account session

Visual Editor openLink → javascript: on create.netlify.com

The preview iframe is allowed to post openLink. The studio checks source and origin, then calls window.open(data, "_blank") with no scheme allowlist. A javascript: URL runs as whoever is logged into the Visual Editor. script-src is report-only, so the URL runs.

Target
create.netlify.com
Sink
window.open(message.data, "_blank") on type: "openLink"
Root Cause
Origin check accepts the preview iframe, then the URL scheme is not restricted. script-src is report-only.
Impact
One click inside the preview runs script as whoever has the editor open and returns that account's email and id.
Interaction
Open the editor, then one click on CLICK HERE in the preview.
Reproduction steps:
  1. Sign in to Netlify in this browser. The account must be able to open this test project. The preview server must be Live.
  2. Click Account Takeover and allow the popup.
  3. In the preview, click CLICK HERE.
Output
Ready. Click a button above to start the PoC.