• Resolved Vimal

    (@vimalwplogin)


    TranslatePress plugin – I’m using in my website. Wordfence Firewall log shows the below lines in its log.
    Not sure what this means with this plugin – Can somebody help me to understand this?

    I replaced my website name with *

    “blocked by firewall for XSS: Cross Site Scripting in POST body: skip_machine_translation=%5B%22https%3A%2F%2F**********************.com%2Fwp-content%2Fuploads%2F2022%2F02%2FCustomerFeedback.o…”

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    Thank you for reaching us!

    The TranslatePress trp-ajax.php file might be blocked by a security plugin such as WordFence or host configuration. Try to disable such security plugins or ask your host about this issue.

    It’s also possible that your host server configuration doesn’t allow TranslatePress to perform a direct database connection. In this case, install this plugin to switch to a WordPress native approach. The only drawback is that on some large websites it can be a bit slower to translate front-end dynamic texts. https://translatepress.com/download/1151690/

    The issue can also be caused by a repeated detection of the same front-end string displayed using JavaScript. In this case you should notice numerous trp-ajax.php calls (20+) in the browser console under Network tab. To solve this, identify the html node that contains that overdetected text and use TP Advanced Settings option Exclude from dynamic translation to input the JS/CSS selector for that node.
    Another approach to the same issue would be to install this plugin which reduces the number of allowed detection of the same dynamic string to a lower number: https://translatepress.com/download/1151694/

    Cheers,

    Thread Starter Vimal

    (@vimalwplogin)

    @sdenis Thanks for your response.

    Will try the above steps and I will update you the status

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘blocked by firewall for XSS: Cross Site Scripting in POST body’ is closed to new replies.