DOM-based Cross-Site Scripting Vulnerability in Retool by Retool
CVE-2026-126751
5.1MEDIUM
What is CVE-2026-126751?
Retool versions 3.253.0 to 3.300.4 are vulnerable to a DOM-based cross-site scripting issue arising from the custom-component-collections.html postMessage handler. This vulnerability permits unauthenticated attackers to send specially crafted postMessage events that load malicious code through data:text/javascript URIs, enabling the execution of arbitrary JavaScript within the context of the victim's session. First reported by Shadowserver Foundation on April 22, 2026, this flaw requires immediate attention from users operating the affected versions to mitigate potential security risks.
Affected Version(s)
Retool 3.253.0 < 3.253.19
Retool 3.254.0 < 3.284.12
Retool 3.285.0 < 3.300.4
