On this page
What this issue is
A web application firewall (WAF) sits in front of your website and filters requests. It looks for attacks such as SQL injection, cross-site scripting and spam bots. Common examples are Cloudflare WAF, Sucuri, Wordfence, AWS WAF, and ModSecurity on many hosts.
Why it costs you leads or sales
The visitor has already decided to contact you or buy. If the POST is blocked, they see a generic error, a blank page or a form that just reloads. Most will not try again. You get no email, no CRM entry and no conversion event for your ads.
- Ad clickVisitor lands on page
- Fill formFields completed
- POST to serverWAF returns 403
- Thank-you pageNever reached
- Email and CRMNo lead arrives
The form page loads, but the firewall rejects the submit request.
Example: 50 people submit the form each week, but the WAF blocks 20 of them, so only 30 leads arrive.
How to check if your site has it
Submit the form in your browser
Open the page in a private window, open DevTools (F12) and go to the Network tab. Submit the form and look for the POST request. A status of 403 means it was refused.
Try realistic content
Some rules only fire on certain text. Test with a long message, a link, an apostrophe, a plus sign in an email address and a phone number with brackets.
Read the response body
Click the failed request and check the Response tab. Cloudflare, Sucuri and ModSecurity each show a recognisable block page or an event ID.
Check the WAF event log
In Cloudflare, go to Security > Events and filter by the form URL and action Block. In Wordfence, see Tools > Live Traffic or the blocked list. On a host with ModSecurity, check the audit log or ask support for the rule ID.
Note the rule and path
Write down the rule ID or name, the request URL, and the field that triggered it. You need these to build a narrow exception.
How to fix it
Identify the firewall plugin or host WAF
Wordfence, Sucuri and host-level ModSecurity are the usual causes. Check the blocked request in the plugin's log.
Add an allowlist rule
In Wordfence, open Firewall > Manage Firewall and use the option to allowlist the blocked rule for that URL or parameter after reviewing the event. In Sucuri, use the firewall's allowlist for the URL path.
Ask your host about ModSecurity
Send support the rule ID and form URL, such as /wp-admin/admin-ajax.php or /contact/, and ask them to disable that rule only for that path.
Create a skip rule in your WAF
In Cloudflare, go to Security > WAF > Custom rules and create a rule with action Skip. Match the form URL and method POST, and skip only the managed rule that fired. Place it above the blocking rules.
Or exclude a rule in ModSecurity
Use SecRuleRemoveById scoped to the form location, as in the snippet below.
Reduce what triggers the rule
If one field causes the block, consider whether the form needs to accept raw HTML or code. Stripping it client-side can avoid the match.
Check the CDN or proxy in front of Webflow
If you proxy the domain through Cloudflare or another WAF, review its events for the form submission request.
Allow the form endpoint
Add a skip or allow rule scoped to POST requests for the page that holds the form.
Check any proxy you added
Shopify's own checkout is managed by Shopify. If you put Cloudflare in front of a custom domain, check its Security > Events for blocked POSTs to /contact or /cart.
Add a scoped exception
Skip the specific managed rule for the blocked path, not the whole store.
<LocationMatch "^/contact/?$">
SecRuleRemoveById 942100
</LocationMatch>Risky fix
- Turn the WAF off
- Allow every request to the site
- Attacks reach the form unfiltered
Safer fix
- Skip one rule ID
- Only for POST to the form URL
- Rest of the site stays protected
How to confirm it's fixed
- The POST in DevTools returns 200 or a redirect, not 403
- The thank-you page or success message appears
- The test lead arrives in your inbox
- The lead appears in your CRM
- Tricky inputs (links, apostrophes, long text) also pass
- The WAF log shows no new blocks for that rule and URL
- The conversion event is recorded in your analytics and ad platforms
How to prevent it happening again
- Review WAF events weekly for blocks on form URLs
- Test forms after any security plugin, host or CDN change
- Keep exceptions narrow and note why each one exists
- Use a monitor that submits the form on a schedule
- Alert someone who can edit firewall rules, not only the marketing team
Day 0
Example: the host updates its firewall rule set.
Day 1
Example: messages containing links start getting 403 errors.
Day 5
Example: lead volume looks low, but no one sees an error.
Day 9
Example: someone tests the form and finds the 403.
Day 9
Example: a narrow exception is added and leads flow again.
How FunnelGuard handles this
FunnelGuard detects this issue. A robot visitor runs your real form journey on a schedule, from the EU or the US, fills in the form and submits it. If the submission is stopped by bot protection or a firewall, the check is flagged as blocked_by_bot_protection.
A failure is re-checked from a second region before one alert goes out, so a one-off glitch does not wake you up. The alert includes a screenshot and a likely cause, and can go to email, Slack, Teams, WhatsApp, a webhook or PagerDuty.
Because the robot is also treated as a bot by the firewall, a block on the test does not always mean real visitors are blocked. Use the WAF event log to confirm whether genuine users are hit. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans include a 3-day free trial.
Questions people ask
Why is my contact form returning a 403 Forbidden error?
A 403 on a form submit usually means a firewall or security rule rejected the POST request. Common sources are Cloudflare WAF, ModSecurity on your host, or a WordPress security plugin. Check the firewall's event log for the form URL to see which rule fired.
How do I find which WAF rule is blocking my form?
Submit the form with DevTools open, note the time and URL, then search your WAF's event log for that request. Cloudflare shows it under Security > Events, and ModSecurity shows a rule ID in its audit log. The rule ID is what you need for an exception.
Is it safe to whitelist my form in the WAF?
Yes, if the exception is narrow. Skip only the specific rule that caused the false positive, and only for POST requests to that form's URL. Turning the firewall off or allowing all traffic to the path removes protection you want to keep.
Why does my form only fail for some messages?
Firewall rules match patterns in the submitted text, such as links, SQL-like words, HTML tags or special characters. Messages without those patterns pass, so the form seems to work in your tests. Test with realistic long messages and links to reproduce it.
Will a WAF block hurt my ad tracking?
Yes. If the POST is rejected, the visitor never reaches the thank-you page, so conversion tags tied to it do not fire. Your ad platforms then under-count leads and optimise on poor data.
Can FunnelGuard tell me when a firewall blocks my form?
Yes. FunnelGuard runs your form journey on a schedule, and when bot protection or a firewall stops the submission it flags the check as blocked_by_bot_protection. It re-checks from a second region and sends one alert with a screenshot and a likely cause.
Does a 403 on the form always mean real visitors are blocked?
Not always. A robot visitor can be treated differently from a person, so confirm in the WAF log whether real submissions are also blocked. If real users appear in the blocked events for that form, treat it as urgent.
Related issues
- CNV-368CAPTCHA blocks real users (always fails)Fix guide
- CNV-372Cloudflare challenge on landing page for ad trafficFix guide
- CNV-373Rate limiting rejects legitimate submissionsFix guide
- CNV-374Invisible CAPTCHA score too strict, leads dropped silentlyFix guide
- CNV-375Geo-blocking firewall rejects whole countriesFix guide
- CNV-370CAPTCHA widget fails to loadFix guide