CVE-2026-126751
Retool versions 3.253.0 before 3.253.19, 3.254.0 before 3.284.12, …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- docs.retool.com/changelog/disclosures/custom-component-xss
- github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/retool/retool-
- www.vulncheck.com/advisories/retool-3.300.4-dom-xss-via-custom-component-collections-html-
- www.vulncheck.com/advisories/retool-before-3.300.4-dom-xss-via-custom-component-collection
- nvd.nist.gov/vuln/detail/CVE-2026-126751
- cve.org/CVERecord?id=CVE-2026-126751
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.