CVE-2026-126751: Retool < 3.300.4 DOM XSS via custom-component-collections.html postMessage
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.
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N · CWE-79
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
Retool: Retool
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- docs.retool.com/changelog/disclosures/custom-component-xss (opens in new tab)
- github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/reto… (opens in new tab)
- www.vulncheck.com/advisories/retool-3.300.4-dom-xss-via-custom-component-collections-ht… (opens in new tab)
- www.vulncheck.com/advisories/retool-before-3.300.4-dom-xss-via-custom-component-collect… (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)