Language: JavaScript
Label: safe
CWE: CWE-352 \u2014 Cross-Site Request Forgery (CSRF)
The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request.

Code:
                        messageTop: function() {
                            // If the dt exprot message define then append it
                            if($("#DtExportTopMessage").html() !== undefined) {
                                return $("#DtExportTopMessage").html();
                            } else {
                                return "<h2 class='text-center'>" + document.title + "</h2><br/> <p class='text-center'> <strong>Printed On: </strong> "+ date +" </p> <br/>";
                            }
                        }