Language: JavaScript
Label: safe
CWE: CWE-829 \u2014 Inclusion of Functionality from Untrusted Control Sphere
The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.

Code:
function sendBulkSMS(url) {

    var table = $('#dataTableWithAjaxExtend').DataTable();

    //var data = table.columns( 0 ).data();
    var rows = table.rows({ selected: true }).indexes();
    var data = table.cells(rows, 0).data();
    var number = [];

    $.each(data, function (key, num) {

        if (num != "" || num != null || num != 'NULL' || num != 0 || num != '0') {
            number.push(num);
        }

    });


    $("#modalDefault").modal('show').find('.modal-content').load(url + encodeURI(number.join()));

}