• I did my routine monthly scan of my site today and had the following warning come up…

    Found 2 Database Injections
    1 NCTC7 "<script*settimeout(" in wpcode(publish):"xxxxxxxxxxxx":
    1 NCTC7 "<script*settimeout(" in XXXXXXoptions:wpcode_snippets":595101.1

    But these both relate to the same code snippet I wrote myself, that does use the setTimeout function

    setTimeout(function() { // give a little time for the option to update before page reload
    window.location.reload(); // refresh the page
    }, 2000);

    Any advice how to prevent these from flagging up?

You must be logged in to reply to this topic.