• Resolved oshika35

    (@oshika35)


    Hello,

    I’m having an issue with Wordfence, I think this is a false positive but I prefer to be sure about it. I’m using this plugin: https://wordpress.org/plugins/cookie-law-info/.
    This plugin is useful regarding GDPR compliance, it allows to quickly setup cookie categories and add the <head> script to them to block the script if the end-user doesn’t accept the cookies.

    My issue is that when I try to edit the <head> script within the plugin, I’m getting wordfence warning message: ‘A potentially unsafe operation has been detected in your request to this site.’

    The blocked request is about edit-tags.php. I have no clue why it’s acting this way and I couldn’t find anything about it on Google.

    Anyone having an idea about what could be the issue?

    Thank you for your help.

    • This topic was modified 3 years, 1 month ago by oshika35.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @oshika35, thanks for getting in touch!

    As this sounds like an issue making a legitimate edit attempt within the plugin, learning mode could help. From the Wordfence Dashboard click on Manage WAF. Then you will see Basic Firewall Options > Web Application Firewall Status. Change the option to Learning Mode. Now perform the actions that were causing issues. This will help Wordfence learn that these actions are normal and it will allow them in the future. After you have finished performing the actions, switch the WAF from Learning Mode back to Enabled and Protecting. Now test to see if these actions work correctly.

    https://www.wordfence.com/help/firewall/learning-mode/ is an amazing resource for learning more about the WAF and learning mode.

    Let me know how you get on!

    Thanks,

    Peter.

    Thread Starter oshika35

    (@oshika35)

    Hi @wfpeter

    I followed your instructions and it worked perfectly. I also explored the link you recommended and it gave me a better understanding of how Wordfence works. Thank you very much for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unsafe operation has been detected (HTTP 403) – CookieYes’ is closed to new replies.