Home Forums WoodMart support forum SecArgumentsLimit

SecArgumentsLimit

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #645837

    dobsaserv
    Participant

    Hello,

    I am using the Woodmart theme, and I encountered an issue when saving theme settings in xts_theme_settings. My hosting provider’s ModSecurity system blocks the request due to a “SecArgumentsLimit exceeded” error.

    The exact error message:

    “ModSecurity: Access denied with code 406 (phase 2). Match of ‘eq 0’ against ‘REQBODY_ERROR’ required. [id ‘400000’] [msg ‘Malware.Expert – Failed to parse request body: SecArgumentsLimit exceeded’]”

    Disabling ModSecurity completely is not an option, so we would like to either eliminate the root cause of this issue or optimize ModSecurity settings specifically for Woodmart.

    Could you please provide information on:

    – How many parameters (arguments) does Woodmart typically send when saving theme settings?
    – What SecArgumentsLimit value do you recommend to prevent this issue?
    – Is there a way to reduce the number of sent parameters (e.g., saving settings in smaller batches)?

    I appreciate your help in resolving this issue.
    Best regards,
    Tibor

    #645862

    Artem Temos
    Keymaster

    Hello,

    We usually recommend increasing this to 10000+ or whitelisting this request if possible.
    We are also working on a new way to handle our Theme Settings, but don’t have a solution yet, so can’t guarantee that it will be released next update.

    Kind Regards

    #645885

    dobsaserv
    Participant

    Hello,

    Thank you for your quick response!

    We will request our hosting provider to increase the SecArgumentsLimit to 10,000+ or whitelist the request if possible. It’s good to know that you are working on a new way to handle Theme Settings—we are eagerly waiting for this update, as this issue affects multiple websites we manage.

    Appreciate your help!
    Rgds

    #645894

    Artem Temos
    Keymaster

    You are welcome. Feel free to contact us if you have any further questions.

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)