Scan your site now

Security Report Summary
E
Site:
Scanned Site(s):
1
IP Address:
87.98.154.146
Report Time:
30 Sep 2020 01:57:05 UTC
Checks:
Window Referrer
Window Opener
Comments
Enabled Debugging
Unsafe Functions
Warning:
Please have a look at the security issues / warnings in the report.
Security Issues
Window Referrer
  • window.open("https://feedburner.google.com/fb/a/mailverify?uri="+r,"et-feedburner-subscribe","scrollbars=yes,width=550,height=520"),!0}var i=t.closest(".et_pb_newsletter"),o=i.find('input[name="et_pb_signup_firstname"]'),a=i.find('input[name="et_pb_signup_lastname"]'),s=i.find('input[name="et_pb_signup_email"]'),u=i.find('input[name="et_pb_signup_list_id"]').val(),l=i.find(".et_pb_newsletter_error").hide(),d=i.find('input[name="et_pb_signup_provider"]').val(),f=i.find('input[name="et_pb_signup_account_name"]').val(),p=i.find('input[name="et_pb_signup_ip_address"]').val(),_=i.find('input[name="et_pb_signup_post_id"]').val(),h=i.find(".et_pb_newsletter_fields"),v=i.find(".et_pb_newsletter_success"),m=i.data("redirect_url"),g=i.data("redirect_query"),b={},w=[],y="<ul>",x="",C=h.find('input[type=text], .et_pb_checkbox_handle, .et_pb_contact_field[data-type="radio"], textarea, select').filter(".et_pb_signup_custom_field, .et_pb_signup_custom_field *");[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • window.open(r);[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • window.open(e,a("msi")?"":o||"addthis_share","left="+l+",top="+f+",width="+s+",height="+d+",personalbar=no,toolbar=no,scrollbars=yes,location=yes,resizable=yes");[https://s7.addthis.com/js/300/addthis_widget.js?ver=5.5.1#pubid=ra-5d9cba085566306a]
  • window.open(e,t,n):window.open(e,t);[https://s7.addthis.com/js/300/addthis_widget.js?ver=5.5.1#pubid=ra-5d9cba085566306a]
  • window.open(t,"_blank");[https://s7.addthis.com/js/300/addthis_widget.js?ver=5.5.1#pubid=ra-5d9cba085566306a]
Warnings
Comments
Comments should be removed from the public code of a web application, since it can give an aggressor critical insights into the inner structure of the program. By using this information, the attacker could easier understand how the user session is handled by javascript or figure out the pathway data is sent to the server.
  • /* Function to detect opted out users */[https://larminat-avocat.fr/]
  • /* Disable tracking if the opt-out cookie exists. */[https://larminat-avocat.fr/]
  • /* Opt-out function */[https://larminat-avocat.fr/]
  • /* https://developers.google.com/analytics/devguides/collection/analyticsjs/ */[https://larminat-avocat.fr/]
  • /* <![CDATA[ */[https://larminat-avocat.fr/]
  • /* ]]> */[https://larminat-avocat.fr/]
  • /* <![CDATA[ */[https://larminat-avocat.fr/]
  • /* ]]> */[https://larminat-avocat.fr/]
  • /* <![CDATA[ */[https://larminat-avocat.fr/]
  • /* ]]> */[https://larminat-avocat.fr/]
  • /*! loadCSS rel=preload polyfill. [c]2017 Filament Group, Inc. MIT License */[https://larminat-avocat.fr/]
  • /* <![CDATA[ */[https://larminat-avocat.fr/]
  • /* ]]> */[https://larminat-avocat.fr/]
  • /* <![CDATA[ */[https://larminat-avocat.fr/]
  • /* ]]> */[https://larminat-avocat.fr/]
  • /* <![CDATA[ */[https://larminat-avocat.fr/]
  • /* ]]> */[https://larminat-avocat.fr/]
  • /* <![CDATA[ */[https://larminat-avocat.fr/]
  • /* ]]> */[https://larminat-avocat.fr/]
  • /*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license | WordPress 2019-05-16 */[https://larminat-avocat.fr/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp]
  • /* Play & Pause for Video */[https://larminat-avocat.fr/wp-content/plugins/divi-post-extended/assets/js/script.js?ver=1.1.0]
  • /* Play & Pause for Audio */[https://larminat-avocat.fr/wp-content/plugins/divi-post-extended/assets/js/script.js?ver=1.1.0]
  • /* Enable/Disable Audio/Video player option */[https://larminat-avocat.fr/wp-content/plugins/divi-post-extended/assets/js/script.js?ver=1.1.0]
  • /** @license ES6-Promise v4.2.8 * es6-promise.auto.min.js * https://github.com/stefanpenner/es6-promise * * Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */[https://larminat-avocat.fr/wp-content/themes/Divi/core/admin/js/es6-promise.auto.min.js?ver=5.5.1]
  • /** * NOTE: A minified copy of this script will be generated by grunt. Only the minified file will be included in zipped releases. * * @file Handles reCAPTCHA on the frontend. * @since 4.0.7 */[https://larminat-avocat.fr/wp-content/themes/Divi/core/admin/js/recaptcha.js?ver=5.5.1]
  • /** * Recaptcha * * @since?? * * @memberof window.etCore.api.spam */[https://larminat-avocat.fr/wp-content/themes/Divi/core/admin/js/recaptcha.js?ver=5.5.1]
  • /** * Score an interaction to determine whether or not it's a bot. * * @since 4.0.7 * * @param {string} action The name of the action being performed. * * @return {Promise<string>} Interaction token to be verified on server. */[https://larminat-avocat.fr/wp-content/themes/Divi/core/admin/js/recaptcha.js?ver=5.5.1]
  • /* Do not modify this file directly. It is compiled from other files. */[https://larminat-avocat.fr/wp-content/plugins/jetpack/_inc/build/photon/photon.min.js?ver=20191001]
  • /*! This minified app bundle contains open source software from several third party developers. Please review CREDITS.md in the root directory or LICENSE.md in the current directory for complete licensing, copyright and patent information. This file and the included code may not be redistributed without the attributions listed in LICENSE.md, including associate copyright notices and licensing information. */[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • /*!* SmoothScroll for websites v1.2.1* Licensed under the terms of the MIT license.** People involved* - Balazs Galambosi (maintainer)* - Michael Herf (Pulse Algorithm)*/[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • /*!* Waypoints - 4.0.0* Copyright © 2011-2015 Caleb Troughton* Licensed under the MIT license.* https://github.com/imakewebthings/waypoints/blog/master/licenses.txt*/[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • /*!* Magnific Popup v1.0.1 by Dmitry Semenov* The MIT License (MIT)* Copyright (c) 2014-2015 Dmitry Semenov, http://dimsemenov.com* http://bit.ly/magnific-popup#build=inline+image+ajax+iframe+gallery+retina+imagezoom+fastclick*/[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • /*Permission is hereby granted, free of charge, to any person obtaining a copy ofthis software and associated documentation files (the "Software"), to deal inthe Software without restriction, including without limitation the rights touse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies ofthe Software, and to permit persons to whom the Software is furnished to do so,subject to the following conditions:The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESSFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS ORCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHERIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR INCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.*/[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • /*!* jQuery hashchange event - v1.3 - 7/21/2010* http://benalman.com/projects/jquery-hashchange-plugin/** Copyright (c) 2010 "Cowboy" Ben Alman* Dual licensed under the MIT and GPL licenses.* http://benalman.com/about/license/*/[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra*/[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • /*!\n * Salvattore 1.0.5 by @rnmp and @ppold\n* https://github.com/rnmp/salvattore\n* Licensed under the MIT license.\n* Copyright (c) 2013-2014 Rolando Murillo and Giorgio Leveroni\n*/[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • /*\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the "Software"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n */[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • /*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas, David Knight. Dual MIT/BSD license */[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • /*! matchMedia() polyfill addListener/removeListener extension. Author & copyright (c) 2012: Scott Jehl. Dual MIT/BSD license */[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • /*!* easyPieChart* Lightweight plugin to render simple, animated and retina optimized pie charts** @author Robert Fleischmann <rendro87@gmail.com> (http://robert-fleischmann.de)* @version 2.1.5*/[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • /*! This minified app bundle contains open source software from several third party developers. Please review CREDITS.md in the root directory or LICENSE.md in the current directory for complete licensing, copyright and patent information. This file and the included code may not be redistributed without the attributions listed in LICENSE.md, including associate copyright notices and licensing information. */[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • /*!* jQuery Mobile v1.4.5* Copyright 2010, 2014 jQuery Foundation, Inc.* jquery.org/license*/[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • /*! This minified app bundle contains open source software from several third party developers. Please review CREDITS.md in the root directory or LICENSE.md in the current directory for complete licensing, copyright and patent information. This file and the included code may not be redistributed without the attributions listed in LICENSE.md, including associate copyright notices and licensing information. */[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • /* [wrapped with "+e+"] */[https://larminat-avocat.fr/wp-content/themes/Divi/js/custom.unified.js?ver=4.4.3]
  • /*!AddThis - v8.28.6 - 20200604;Copyright (c) 1998, 2020, Oracle and/or its affiliates.*/[https://s7.addthis.com/js/300/addthis_widget.js?ver=5.5.1#pubid=ra-5d9cba085566306a]
  • /*!invariant : 2.1.0BSDCopyright (c)All rights reserved.Redistribution and use in source and binary forms, with or withoutmodification, are permitted provided that the following conditions are met:* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.* Neither the name of invariant nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THEIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AREDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLEFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIALDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS ORSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVERCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USEOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.css-loader : 0.16.0MITMIT LicenseCopyright (c)Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.style-loader : 0.13.1MITMIT LicenseCopyright (c)Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.*/[https://s7.addthis.com/js/300/addthis_widget.js?ver=5.5.1#pubid=ra-5d9cba085566306a]
  • /*! AddThis */[https://s7.addthis.com/js/300/addthis_widget.js?ver=5.5.1#pubid=ra-5d9cba085566306a]
  • /*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */[https://s7.addthis.com/js/300/addthis_widget.js?ver=5.5.1#pubid=ra-5d9cba085566306a]
  • /** @license React v16.9.0 * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */[https://larminat-avocat.fr/wp-includes/js/dist/vendor/react.min.js?ver=16.9.0]
  • /** @license React v16.9.0 * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */[https://larminat-avocat.fr/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0]
  • /* Modernizr 3.0.0pre (Custom Build) | MIT*/[https://larminat-avocat.fr/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0]
  • /*! This file is auto-generated */[https://larminat-avocat.fr/wp-includes/js/dist/dom-ready.min.js?ver=db63eb2f693cb5e38b083946b14f0684]
Enabled Debugging
The JavaScript debugging functions should always removed after development stage, because they could expose informations on the inner workings of the code. In production, it is a loophole and could show a possible attacker where to find possibly exploitable vulnerabilities or interesting variables.
  • console.log( "" );[https://larminat-avocat.fr/]
  • console.log( 'Non exécution de la fonction en cours __gaTracker(' + arguments[0] + " ....) parce que vous n’êtes pas suivi. " + em_no_track_reason );[https://larminat-avocat.fr/]
  • console.log("Error: USP string not updated!")}))});[https://larminat-avocat.fr/wp-content/plugins/quantcast-choice/public/js/script.min.js?ver=2.0.2]
  • console.log(t.toString()+" - "+e)}}return this},r.css=function(){if(arguments.length){var e=Array.prototype.slice.call(arguments,0);[https://s7.addthis.com/js/300/addthis_widget.js?ver=5.5.1#pubid=ra-5d9cba085566306a]
  • console.log(e)},onDataError:function(e){console.log(e)}}),C=o;var m=i.src;a.removeChild(i),_ate.sid=(0,f.makeCUID)();[https://s7.addthis.com/js/300/addthis_widget.js?ver=5.5.1#pubid=ra-5d9cba085566306a]
  • console.log(a)}else if(l.trigger.data("cacheSession"))try{sessionStorage.setItem(k,e.responseText)}catch(a){console.log(a)}a(window).trigger("baldrick.cache",k)}b=c("pre_filter",{data:b,request:u,params:l,xhr:e}),b=c("filter",{data:b,rawData:j,request:u,params:l,xhr:e}),c("target",b)},complete:function(a,b){c("request_complete",{jqxhr:a,textStatus:b,request:u,params:l}),c("refresh",{jqxhr:a,textStatus:b,request:u,params:l}),d.data("once")&&d.off(f).removeClass("_tisBound")},error:function(a,b,d){c("request_error",{jqxhr:a,textStatus:b,error:d,request:u,params:l})}};if(l.dataType&&(u.dataType=l.dataType),void 0!==l.contentType&&(u.contentType=l.contentType),void 0!==l.processData&&(u.processData=l.processData),void 0!==l.xhrFields&&(u.xhrFields=l.xhrFields),!1===(u=c("request_params",u,l)))return g;var v=c("request",{request:u,params:l});[https://larminat-avocat.fr/wp-content/plugins/caldera-forms/assets/build/js/jquery-baldrick.min.js?ver=1.9.2]
Unsafe Functions
eval() is eval! This functions and similar ones (document.write(), document.writeln(), element.innerHTML, element.outerHTML, element.insertAdjacentHTML()) should never be used in production stage of a website, because the parsing of the executable string is often not secure and result therefore often in a cross-site scripting vulnerability. Instead of these functions create html elements by script and add it to the DOM object.
  • document.write( '<script src="https://larminat-avocat.fr/wp-includes/js/dist/vendor/wp-polyfill-fetch.min.js?ver=3.0.0" defer>' + 'ipt>' );[https://larminat-avocat.fr/]
  • document.write( '<script src="https://larminat-avocat.fr/wp-includes/js/dist/vendor/wp-polyfill-node-contains.min.js?ver=3.42.0" defer>' + 'ipt>' );[https://larminat-avocat.fr/]
  • document.write( '<script src="https://larminat-avocat.fr/wp-includes/js/dist/vendor/wp-polyfill-dom-rect.min.js?ver=3.42.0" defer>' + 'ipt>' );[https://larminat-avocat.fr/]
  • document.write( '<script src="https://larminat-avocat.fr/wp-includes/js/dist/vendor/wp-polyfill-url.min.js?ver=3.6.4" defer>' + 'ipt>' );[https://larminat-avocat.fr/]
  • document.write( '<script src="https://larminat-avocat.fr/wp-includes/js/dist/vendor/wp-polyfill-formdata.min.js?ver=3.0.12" defer>' + 'ipt>' );[https://larminat-avocat.fr/]
  • document.write( '<script src="https://larminat-avocat.fr/wp-includes/js/dist/vendor/wp-polyfill-element-closest.min.js?ver=2.0.2" defer>' + 'ipt>' );[https://larminat-avocat.fr/]
  • eval(globalObjectString)}catch(e){throw new Error("Must pass a string which will eval to a globally accessible object where callbacks will be stored")}return{storeCallback:storeCallback,getCallbackCallTime:getCallbackCallTime}}},function(e,t){"use strict";var n=[function(e,t){return navigator.sendBeacon(e,t)},function(e){var t=new Image;return t.src=e,!0}],a=navigator.sendBeacon instanceof Function?0:Math.floor(Math.random()*(n.length-1)+1);[https://s7.addthis.com/js/300/addthis_widget.js?ver=5.5.1#pubid=ra-5d9cba085566306a]
  • eval("evl = "+src),evl}return eval(src)}},function(e,t,n){"use strict";var a=n(11).array;e.exports=function(e,t,n){if(a(e)){var i=e.length;for(n=parseInt(n)||0,n=n<0?i+n:n,n=n<0?0:n;n<i;n++)if(e[n]===t)return n;return-1}}},function(e,t){e.exports=function(e){if(null==e||"object"!=typeof e)return e;if(e instanceof Object){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=(t.length>0?",":"")+e[n]);[https://s7.addthis.com/js/300/addthis_widget.js?ver=5.5.1#pubid=ra-5d9cba085566306a]
Additional Information
Link Opener
The window.open("https://example.com/", "_blanc", "noopener"); attribute should always be added to the window.open() function, which open a site in a new tab, to reduce the risk of reverse tabnabbing. Otherwise javascript on the new page has full control over the previous visited page, including permission to change the DOM object and possibly steal session cookies.
Link Referrer
The window.open("https://example.com/", "_blanc", "referrer"); attribute should always be added to the window.open() function to prevent reverse tabnabbing for older browser, which do not support the noopener attribute and to prevent phishing attacks.
Comments
Comments should be removed from the public code of a web application, since it can give an aggressor critical insights into the inner structure of the program. By using this information, the attacker could easier understand how the user session is handled by javascript or figure out the pathway data is sent to the server.
Enabled Debugging
The JavaScript debugging functions should always removed after development stage, because they could expose informations on the inner workings of the code. In production, it is a loophole and could show a possible attacker where to find possibly exploitable vulnerabilities or interesting variables.
Unsafe Functions
eval() is eval! This functions and similar ones (document.write(), document.writeln(), element.innerHTML, element.outerHTML, element.insertAdjacentHTML()) should never be used in production stage of a website, because the parsing of the executable string is often not secure and result therefore often in a cross-site scripting vulnerability. Instead of these functions create html elements by script and add it to the DOM object.
Scanned URL(s)
Avocat spécialisé en droit fiscal à Nantes - cabinet 100% fiscalité.