Support » Plugin: Google Authenticator - WordPress Two Factor Authentication (2FA , MFA) » improper JavaScript tag placement in HTML code

  • Resolved Eli

    (@scheeeli)


    I had someone report that my plugin was finding problem in this file …/controllers/twofa/mo2fa_inline_registration.php.

    The problem that I found was that you have JavaScript tags after the closing </body> tag. This is improper HTML coding, nothing should ever go between the </body> and </html> tags. While this kind of sloppy placement of <script> tags is usually forgiven by most browsers, and you code will likely work as intended in most cases, it is still improper and usually only malicious scripts are injected in the wrong place like that. I am giving you this information so that you might move your scripts to inside the BODY in your next release.

    I found this issue on lines 207, 343, 628, 830, 943, 1076, and 1208.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author miniOrange

    (@cyberlord92)

    Hi,

    Thank you for reaching out to us.

    Thank you for pointing it and taking time to check the plugin. We will update this with our next release. We have a release on next week so you can verify it with that.

    Also if you need any assistance with the plugin you can send us a support request from the plugin or our website. We would be happy to assist you.

    Plugin Author miniOrange

    (@cyberlord92)

    Hi Scheeeli,

    We have resolved it in the latest version.

    Please find it and let us know if you have any questions.

    You can always reach out to us in the future whenever you have any doubts or concerns.
    You can also find us under the Support section of the plugin.

    We are always here to help you.

    Looks good now. Thanks for the update!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.