PoC — DOM XSS via postMessage on denunciasmeli.com

Target: https://denunciasmeli.com/form.html

This page embeds the vulnerable form in an iframe and sends a crafted postMessage. The target page listens for messages and assigns event.data.redirect to window.location.href without validating the origin or the URL scheme.

postMessage({ type: "formSuccess", redirect: "javascript:alert('XSS on ' + document.domain)" }, "*")

If the target is vulnerable, an alert() pops up showing the target origin (denunciasmeli.com), proving JavaScript execution in that origin.