cvelo
P3 · MediumCVSS 6.1EPSS 0.3%

Retool < 3.300.4 DOM XSS via custom-component-collections.html postMessage

  • CVE-2026-126751
  • GHSA-hrqw-7vjv-9x5r
  • EUVD-2026-129005

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.

Text from the CVE.org record.

Recommendation

  • Retool

    • If you run a version from 3.285.0 to before 3.300.4update to 3.300.4 or laterMinor version change: check the release notes
    • If you run a version from 3.254.0 to before 3.284.12update to 3.284.12 or laterMinor version change: check the release notes
    • If you run 3.253.xupdate to 3.253.19 or laterPatch update: breaking changes are unlikely

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Retool

    Affected versionsFixed in
    from 3.285.0 to before 3.300.43.300.4
    from 3.254.0 to before 3.284.123.284.12
    from 3.253.0 to before 3.253.193.253.19

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.