Read the docs

Retool DOM XSS via custom-component-collections.html postMessage handler

Priority LOW 23CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
None · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

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 flaw (CWE-79) in the custom-component-collections.html postMessage handler, which imports received code without origin validation. Unauthenticated attackers can send crafted postMessage events that load attacker-controlled code via data:text/javascript URIs and run arbitrary JavaScript in the victim's context. The Shadowserver Foundation first observed exploitation on 2026-04-22, and the CVSS 4.0 base score is 5.1 (MEDIUM).

Written with Claude Haiku 5.5 from the sources below · 2026-11-18

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00351 21st percentileScored 2026-11-30
Fix Fixed Retool (Retool): 3.253.19, 3.284.12, 3.300.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
RetoolRetool3.253.0 to before 3.253.19; 3.254.0 to before 3.284.12; 3.285.0 to before 3.300.43.253.19, 3.284.12, 3.300.4Patch availableCNA
  • Retool VendorRetool Affected 3.253.0 to before 3.253.19; 3.254.0 to before 3.284.12; 3.285.0 to before 3.300.4 Fixed in 3.253.19, 3.284.12, 3.300.4 Patch available CNA

Remediation

Upgrade to the fixed release for your branch: 3.253.19, 3.284.12, or 3.300.4. A fix is available.

Written with Claude Haiku 5.5 from the sources below · 2026-11-18

  • Fix · CNA Retool (Retool) Fixed in 3.253.19, 3.284.12, 3.300.4

Timeline

  1. 2026-11-18 Threatist record created from CVE-2026-126751
  2. 2026-11-18 CISA SSVC decision points changed
  3. 2026-11-18 Alias added: GHSA-hrqw-7vjv-9x5r

References

  • TI-2025-29932 Retool (self-hosted) before 3.196.0 allows Host header injection. CVSS 3.1HIGH 7.1
  • TI-2024-39149 Cross-site scripting in Retool image proxy lets attackers run scripts CVSS 4.0MEDIUM 5.1
  • TI-2024-28062 Retool (self-hosted enterprise) through 3.40.0 inserts resource authentication… CVSS 3.1MEDIUM 6.5

Sources