Retool DOM-based XSS in custom component postMessage handler
Retool
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Retool Retool |
| No fix yet |
Original description
Retool versions 3.253.0 before 3.253.19, 3.254.0 before 3.284.12, and 3.285.0 before 3.300.4 contain a DOM-based cross-site scripting vulnerability in the custom-component-collections.html postMessage handler that imports received code without origin validation. Unauthenticated attackers can send crafted postMessage events that load attacker-controlled code via data:text/javascript URIs to execute arbitrary JavaScript in the victim's context. Exploitation evidence was first observed by the Shadowserver Foundation on 2026-04-22.
From the CVE record · VulnCheck