Scan your site now

Security Report Summary
E
Site:
Scanned Site(s):
1
IP Address:
172.67.74.141
Report Time:
28 Feb 2021 15:46:59 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(n,"Share posts","scrollbars=yes,resizable=yes,width=360,height=400")}),a=n(".pp-comment-container textarea#comment"),i=parseInt(a.attr("maxlength")),l=n(".pp-comment-container .note-max-length"),a.length<=0||a.on("input",function(e){var n,t=this.value.length,o=i-t;l.text(`${o} ${n=o,1==n?"character":"characters"} length max`)}),n("form.pp-search-form").on("submit",function(t){var o=n(this).find('input[name="s"]').val();[https://media.cosmosclinic.com.au/wp-content/opt-assets/12a81c65.js?ver=4.9.6]
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.
  • /*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license | WordPress 2019-05-16 */[https://www.cosmosclinic.com.au/wp-content/plugins/phastpress/phast.php?service=scripts&src=https%3A%2F%2Fwww.cosmosclinic.com.au%2Fwp-includes%2Fjs%2Fjquery%2Fjquery.js&cacheMarker=1605207094-96873-2]
  • /*! Magnific Popup - v1.1.0 - 2016-02-20* http://dimsemenov.com/plugins/magnific-popup/* Copyright (c) 2016 Dmitry Semenov; */[https://media.cosmosclinic.com.au/wp-content/opt-assets/139a1bef.js?ver=4.9.6]
  • /** * Identify browser on site if they are logged in. * * Object possibly containing user/commenter email address: * @typedef {Object} klUser * @property {string} currect_user_email - Email of logged in user * @property {string} commenter_email - Email of logged in commenter * */[https://media.cosmosclinic.com.au/wp-content/opt-assets/12a81c65.js?ver=4.9.6]
  • /* Polyfill service v3.25.1 * For detailed credits and licence information see https://github.com/financial-times/polyfill-service. * * UA detected: other/0.0.0 (unknown/unsupported; using policy `unknown=ignore`) * Features requested: IntersectionObserver * */[https://cdn.polyfill.io/v2/polyfill.js?features=IntersectionObserver&ver=2.2.8]
  • /* No polyfills found for current settings */[https://cdn.polyfill.io/v2/polyfill.js?features=IntersectionObserver&ver=2.2.8]
  • /* Placeholders.js v3.0.2 */[https://media.cosmosclinic.com.au/wp-content/opt-assets/cf523795.js?ver=4.9.6]
  • /* Custom select design */[https://media.cosmosclinic.com.au/wp-content/opt-assets/cf523795.js?ver=4.9.6]
  • /* End */[https://media.cosmosclinic.com.au/wp-content/opt-assets/cf523795.js?ver=4.9.6]
  • /*! This file is auto-generated */[https://media.cosmosclinic.com.au/wp-content/opt-assets/cf523795.js?ver=4.9.6]
  • /*! This file is auto-generated */[https://media.cosmosclinic.com.au/wp-content/opt-assets/cf523795.js?ver=4.9.6]
  • /*! instantsearch.js 1.11.15 | © Algolia Inc. and other contributors; Licensed MIT | github.com/algolia/instantsearch.js */[https://media.cosmosclinic.com.au/wp-content/opt-assets/cf523795.js?ver=4.9.6]
  • /*/queries";return void 0!==t.strategy&&(c+="?strategy="+t.strategy),this._jsonRequest({cache:this.cache,method:"POST",url:c,body:s,hostType:"read",fallback:{method:"GET",url:"/1/indexes/*",body:{params:u}},callback:r})},r.prototype.setSecurityTags=function(e){if("[object Array]"===Object.prototype.toString.call(e)){for(var t=[],n=0;n<e.length;++n)if("[object Array]"===Object.prototype.toString.call(e[n])){for(var r=[],i=0;i<e[n].length;++i)r.push(e[n][i]);t.push("("+r.join(",")+")")}else t.push(e[n]);e=t.join(",")}this.securityTags=e},r.prototype.setUserToken=function(e){this.userToken=e},r.prototype.clearCache=function(){this.cache={}},r.prototype.setRequestTimeout=function(e){e&&(this._timeouts.connect=this._timeouts.read=this._timeouts.write=e)},r.prototype.setTimeouts=function(e){this._timeouts=e},r.prototype.getTimeouts=function(){return this._timeouts},r.prototype._getAppIdData=function(){var e=f.get(this.applicationID);return null!==e&&this._cacheAppIdData(e),e},r.prototype._setAppIdData=function(e){return e.lastChange=(new Date).getTime(),this._cacheAppIdData(e),f.set(this.applicationID,e)},r.prototype._checkAppIdData=function(){var e=this._getAppIdData(),t=(new Date).getTime();return null===e||t-e.lastChange>p?this._resetInitialAppIdData(e):e},r.prototype._resetInitialAppIdData=function(e){var t=e||{};return t.hostIndexes={read:0,write:0},t.timeoutMultiplier=1,t.shuffleResult=t.shuffleResult||a([1,2,3]),this._setAppIdData(t)},r.prototype._cacheAppIdData=function(e){this._hostIndexes=e.hostIndexes,this._timeoutMultiplier=e.timeoutMultiplier,this._shuffleResult=e.shuffleResult},r.prototype._partialAppIdDataUpdate=function(e){var t=n(10),r=this._getAppIdData();return t(e,function(e,t){r[t]=e}),this._setAppIdData(r)},r.prototype._getHostByType=function(e){return this.hosts[e][this._getHostIndexByType(e)]},r.prototype._getTimeoutMultiplier=function(){return this._timeoutMultiplier},r.prototype._getHostIndexByType=function(e){return this._hostIndexes[e]},r.prototype._setHostIndexByType=function(e,t){var r=n(17),i=r(this._hostIndexes);return i[t]=e,this._partialAppIdDataUpdate({hostIndexes:i}),e},r.prototype._incrementHostIndex=function(e){return this._setHostIndexByType((this._getHostIndexByType(e)+1)%this.hosts[e].length,e)},r.prototype._incrementTimeoutMultipler=function(){var e=Math.max(this._timeoutMultiplier+1,4);return this._partialAppIdDataUpdate({timeoutMultiplier:e})},r.prototype._getTimeoutsForRequest=function(e){return{connect:this._timeouts.connect*this._timeoutMultiplier,complete:this._timeouts[e]*this._timeoutMultiplier}}},function(e,t,n){"use strict";function r(e,t){var r=n(10),i=this;"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):i.stack=(new Error).stack||"Cannot get a stacktrace, browser is too old",this.name="AlgoliaSearchError",this.message=e||"Unknown error",t&&r(t,function(e,t){i[t]=e})}function i(e,t){function n(){var n=Array.prototype.slice.call(arguments,0);"string"!=typeof n[0]&&n.unshift(t),r.apply(this,n),this.name="AlgoliaSearch"+e+"Error"}return o(n,r),n}var o=n(9);o(r,Error),e.exports={AlgoliaSearchError:r,UnparsableJSON:i("UnparsableJSON","Could not parse the incoming response as JSON, see err.more for details"),RequestTimeout:i("RequestTimeout","Request timedout before getting a response"),Network:i("Network","Network issue, see err.more for details"),JSONPScriptFail:i("JSONPScriptFail","<script> was loaded but did not call our provided callback"),JSONPScriptError:i("JSONPScriptError","<script> unable to load due to an `error` event on it"),Unknown:i("Unknown","Unknown error occured")}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t){var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,t,i){if("[object Function]"!==r.call(t))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var a=0;a<o;a++)t.call(i,e[a],a,e);else for(var s in e)n.call(e,s)&&t.call(i,e[s],s,e)}},function(e,t){e.exports=function(e,t){t(e,0)}},function(e,t,n){function r(e,t){this.indexName=t,this.as=e,this.typeAheadArgs=null,this.typeAheadValueOption=null,this.cache={}}var i=n(13),o=n(14),a=n(15);e.exports=r,r.prototype.clearCache=function(){this.cache={}},r.prototype.search=i("query"),r.prototype.similarSearch=i("similarQuery"),r.prototype.browse=function(e,t,r){var i,o,a=n(16),s=this;0===arguments.length||1===arguments.length&&"function"==typeof arguments[0]?(i=0,r=arguments[0],e=void 0):"number"==typeof arguments[0]?(i=arguments[0],"number"==typeof arguments[1]?o=arguments[1]:"function"==typeof arguments[1]&&(r=arguments[1],o=void 0),e=void 0,t=void 0):"object"==typeof arguments[0]?("function"==typeof arguments[1]&&(r=arguments[1]),t=arguments[0],e=void 0):"string"==typeof arguments[0]&&"function"==typeof arguments[1]&&(r=arguments[1],t=void 0),t=a({},t||{},{page:i,hitsPerPage:o,query:e});var u=this.as._getSearchParams(t,"");return this.as._jsonRequest({method:"POST",url:"/1/indexes/"+encodeURIComponent(s.indexName)+"/browse",body:{params:u},hostType:"read",callback:r})},r.prototype.browseFrom=function(e,t){return this.as._jsonRequest({method:"POST",url:"/1/indexes/"+encodeURIComponent(this.indexName)+"/browse",body:{cursor:e},hostType:"read",callback:t})},r.prototype.searchForFacetValues=function(e,t){var r=n(17),i=n(18);if(void 0===e.facetName||void 0===e.facetQuery)throw new Error("Usage: index.searchForFacetValues({facetName, facetQuery, ...params}[, callback])");var o=e.facetName,a=i(r(e),function(e){return"facetName"===e}),s=this.as._getSearchParams(a,"");return this.as._jsonRequest({method:"POST",url:"/1/indexes/"+encodeURIComponent(this.indexName)+"/facets/"+encodeURIComponent(o)+"/query",hostType:"read",body:{params:s},callback:t})},r.prototype.searchFacet=o(function(e,t){return this.searchForFacetValues(e,t)},a("index.searchFacet(params[, callback])","index.searchForFacetValues(params[, callback])")),r.prototype._search=function(e,t,n,r){return this.as._jsonRequest({cache:this.cache,method:"POST",url:t||"/1/indexes/"+encodeURIComponent(this.indexName)+"/query",body:{params:e},hostType:"read",fallback:{method:"GET",url:"/1/indexes/"+encodeURIComponent(this.indexName),body:{params:e}},callback:n,additionalUA:r})},r.prototype.getObject=function(e,t,n){var r=this;1!==arguments.length&&"function"!=typeof t||(n=t,t=void 0);var i="";if(void 0!==t){i="?attributes=";for(var o=0;o<t.length;++o)0!==o&&(i+=","),i+=t[o]}return this.as._jsonRequest({method:"GET",url:"/1/indexes/"+encodeURIComponent(r.indexName)+"/"+encodeURIComponent(e)+i,hostType:"read",callback:n})},r.prototype.getObjects=function(e,t,r){var i=n(21),o=n(22);if(!i(e))throw new Error("Usage: index.getObjects(arrayOfObjectIDs[, callback])");var a=this;1!==arguments.length&&"function"!=typeof t||(r=t,t=void 0);var s={requests:o(e,function(e){var n={indexName:a.indexName,objectID:e};return t&&(n.attributesToRetrieve=t.join(",")),n})};return this.as._jsonRequest({method:"POST",url:"/1/indexes/*/[https://media.cosmosclinic.com.au/wp-content/opt-assets/cf523795.js?ver=4.9.6]
  • /* [wrapped with "+t+"] */[https://media.cosmosclinic.com.au/wp-content/opt-assets/cf523795.js?ver=4.9.6]
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("%cOptimized with %cPhastPress%c %s\nhttps:\/\/wordpress.org\/plugins\/phastpress\/","font-family:helvetica,sans-serif","font-family:helvetica,sans-serif;font-weight:bold","font-family:helvetica,sans-serif","1.80") var algolia = {"debug":false,"application_id":"8T7TO04D6S","search_api_key":"7d54c15702c4b15011424a76d96aaef5","powered_by_enabled":true,"query":"","autocomplete":{"sources":[{"index_id":"posts_team","index_name":"wp_posts_team","label":"Team","admin_name":"Team","position":10,"max_suggestions":5,"tmpl_suggestion":"autocomplete-post-suggestion","enabled":true},{"index_id":"posts_post","index_name":"wp_posts_post","label":"Posts","admin_name":"Posts","position":10,"max_suggestions":5,"tmpl_suggestion":"autocomplete-post-suggestion","enabled":true},{"index_id":"posts_page","index_name":"wp_posts_page","label":"Pages","admin_name":"Pages","position":10,"max_suggestions":5,"tmpl_suggestion":"autocomplete-post-suggestion","enabled":true}],"input_selector":"input[name='s']:not('.no-autocomplete')"},"indices":{"searchable_posts":{"name":"wp_searchable_posts","id":"searchable_posts","enabled":true,"replicas":[]},"posts_post":{"name":"wp_posts_post","id":"posts_post","enabled":true,"replicas":[]},"posts_page":{"name":"wp_posts_page","id":"posts_page","enabled":true,"replicas":[]},"posts_team":{"name":"wp_posts_team","id":"posts_team","enabled":true,"replicas":[]}}}; (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});[https://www.cosmosclinic.com.au/]
  • console.log("[Phast] Resource loader: Pack got too big; flushing early...");[https://www.cosmosclinic.com.au/]
  • console.log("URL:",v);[https://www.cosmosclinic.com.au/]
  • console.log(_a,"IndexedDB cache is not available. This is usually due to using private browsing mode.");[https://www.cosmosclinic.com.au/]
  • console.log("[Phast] Not using IndexedDB cache on Safari");[https://www.cosmosclinic.com.au/]
  • console.log(j.join("\n"));[https://www.cosmosclinic.com.au/]
  • console.log("Phast: Not a pattern:",d);[https://www.cosmosclinic.com.au/]
  • console.log("Phast: Failed to compile pattern:",d)}});[https://www.cosmosclinic.com.au/]
  • console.log(e)}catch(e){}}function t(e){return d.innerHTML='<a href="'+e.replace(/"/g,""")+'"></a>',d.childNodes[0].getAttribute("href")||""}function r(e,t){var r=e.substr(t,2);[https://www.cosmosclinic.com.au/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js]
  • console.log("".concat("onsite-modules"," - ").concat(e))},a="".concat(s.API.cachedUrl,"/media/js/analytics/klaviyo_analytics.js?v=").concat(s.API.klaviyoAnalyticsVersion),m=function(e){var o=+new Date;window._learnq=window._learnq||[],window._learnq.push(["account",e]);[https://static.klaviyo.com/onsite/js/klaviyo.js?company_id=QgwT2F]
  • console.log(t);[https://media.cosmosclinic.com.au/wp-content/opt-assets/cf523795.js?ver=4.9.6]
  • console.log(t),r=!0),e.apply(this,arguments)}var r=!1;return n}},function(e,t){e.exports=function(e,t){return"algoliasearch: `"+e+"` was replaced by `"+t+"`. Please see https://github.com/algolia/algoliasearch-client-js/wiki/Deprecated#"+e.toLowerCase().replace(".","").replace("()","")}},function(e,t,n){var r=n(10);[https://media.cosmosclinic.com.au/wp-content/opt-assets/cf523795.js?ver=4.9.6]
  • console.log("Please upgrade to the newest version of the JS Client."),this.setClient(e);[https://media.cosmosclinic.com.au/wp-content/opt-assets/cf523795.js?ver=4.9.6]
  • console.log("%s - %s",F(),t.format.apply(t,arguments))},t.inherits=n(319),t._extend=function(e,t){if(!t||!R(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(t,function(){return this}(),n(25))},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function i(e){return"number"==typeof e}function o(e){return"object"==typeof e&&null!==e}function a(e){return void 0===e}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!i(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");[https://media.cosmosclinic.com.au/wp-content/opt-assets/cf523795.js?ver=4.9.6]
  • console.log("[Warning][hitsPerPageSelector] hitsPerPage not defined.\nYou should probably use a `hits` widget or set the value `hitsPerPage`\nusing the searchParameters attribute of the instantsearch constructor."):window.console&&window.console.log("[Warning][hitsPerPageSelector] No option in `options`\nwith `value: hitsPerPage` (hitsPerPage: "+n.hitsPerPage+")"),l=[{value:void 0,label:""}].concat(l)),this.setHitsPerPage=function(e){return t.setQueryParameter("hitsPerPage",Number(e)).search()}},render:function(e){var t=e.state,n=e.results,r=t.hitsPerPage,i=0===n.nbHits;u.default.render(a.default.createElement(h,{cssClasses:v,currentValue:r,options:l,setValue:this.setHitsPerPage,shouldAutoHideContainer:i}),p)}}}Object.defineProperty(t,"__esModule",{value:!0});[https://media.cosmosclinic.com.au/wp-content/opt-assets/cf523795.js?ver=4.9.6]
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.
  • eval("("+str+")")},$.secureEvalJSON="object"==typeof JSON&&JSON.parse?JSON.parse:function(str){var filtered=str.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"");[https://media.cosmosclinic.com.au/wp-content/opt-assets/cf523795.js?ver=4.9.6]
  • eval("("+str+")");[https://media.cosmosclinic.com.au/wp-content/opt-assets/cf523795.js?ver=4.9.6]
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)
Cosmos Clinic | The Leaders In Liposuction