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

> CVE-2026-126751: Retool < 3.300.4 DOM XSS via custom-component-collections.html postMessage. CVSS 6.1 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-126751
Last updated: 2026-11-18T18:19:03Z

- Published: 2026-11-18 15:34 UTC · Updated: 2026-11-18 18:19 UTC · Assigner: VulnCheck
- CVSS: 6.1 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.25%, 18th percentile (scored 2026-12-01)
- CISA KEV: no
- CWE: CWE-79

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

## Affected vendors and products

- Retool: Retool

## Tracked companies

- [Retool](https://rewindex.com/company/retool.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-126751)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-126751)
- [https://docs.retool.com/changelog/disclosures/custom-component-xss](https://docs.retool.com/changelog/disclosures/custom-component-xss)
- [https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/retool/retool-postmessage-xss.yaml](https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/retool/retool-postmessage-xss.yaml)
- [https://www.vulncheck.com/advisories/retool-3.300.4-dom-xss-via-custom-component-collections-html-postmessage](https://www.vulncheck.com/advisories/retool-3.300.4-dom-xss-via-custom-component-collections-html-postmessage)
- [https://www.vulncheck.com/advisories/retool-before-3.300.4-dom-xss-via-custom-component-collections-html-postmessage](https://www.vulncheck.com/advisories/retool-before-3.300.4-dom-xss-via-custom-component-collections-html-postmessage)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-126751 · Markdown: https://rewindex.com/cve/CVE-2026-126751.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-126751 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-12-02T03:51:35.708Z
