CVE-2026-126751
Retool < 3.300.4 DOM XSS via custom-component-collections.html postMessage
Medium · 5.1Fix available
- CVSS
- 5.1
- EPSS
- 0.25% (p18)
- Published
- 2026-11-18
- Age
- 18d old
- Modified
- 2026-11-18
- Product
- Retool Retool
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
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.
Fixed in
3.253.19 · 3.284.12 · 3.300.4
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Retool | >=3.253.0, <3.253.19 | 3.253.19 |
| vendor | Retool | >=3.254.0, <3.284.12 | 3.284.12 |
| vendor | Retool | >=3.285.0, <3.300.4 | 3.300.4 |
Sources
References
- https://docs.retool.com/changelog/disclosures/custom-component-xss vendor-advisory
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/retool/retool-postmessage-xss.yaml technical-description
- https://www.vulncheck.com/advisories/retool-before-3.300.4-dom-xss-via-custom-component-collections-html-postmessage third-party-advisory
- https://www.vulncheck.com/advisories/retool-3.300.4-dom-xss-via-custom-component-collections-html-postmessage third-party-advisory