# CVE-2026-126751: Retool < 3.300.4 DOM XSS via custom-component-collections.html postMessage

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-18T15:34:56.727Z
- Modified: 2026-11-18T18:19:03.957Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Retool Retool: from 3.253.0 before 3.253.19; from 3.254.0 before 3.284.12; from 3.285.0 before 3.300.4

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/retool/retool-postmessage-xss.yaml> (exploit, technical-description)
- <https://docs.retool.com/changelog/disclosures/custom-component-xss> (patch, vendor-advisory)
- <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)

## Sources

- CVE List: [CVE-2026-126751](https://www.cve.org/CVERecord?id=CVE-2026-126751), CVE Terms of Use, modified 2026-11-18
- NVD: [CVE-2026-126751](https://nvd.nist.gov/vuln/detail/CVE-2026-126751), Public domain, modified 2026-11-18

---

Page: https://cve.day/CVE-2026-126751 · Whole record: https://cve.day/CVE-2026-126751.json · Rebuilt by cve.day 2026-11-25T22:59:51.853Z
