XSS in Retool
CVE-2026-126751
- CVSS v3
- 6.1 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 16.7th percentile
- Published
- 2026-11-18
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 16.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- docs.retool.com/changelog/disclosures/custom-component-xss (vendor-advisory, patch)
- github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/ret… (technical-description)
- www.vulncheck.com/advisories/retool-before-3.300.4-dom-xss-via-custom-component… (third-party-advisory)
- www.vulncheck.com/advisories/retool-3.300.4-dom-xss-via-custom-component-collec… (third-party-advisory)