403 response on sending post request with Html content

Ranjith

New member
Joined
Oct 12, 2019
Messages
3
I have hosted on php application in direct admin web panel. I have a feature to send email with html content but when i send post request with html content the direct admin is blocking the request saying it as xss attack due to html content. How to overcome this.

I am getting this error log

ModSecurity: Access denied with code 403 (phase 2). Pattern match "<link.{0,}?href\\\\/{0,}=" at ARGS_POST:lead_quickemail[body]. [file "/usr/local/cwaf/rules/07_XSS_XSS.conf"] [line "140"] [id "212980"] [rev "4"] [msg "COMODO WAF: IE XSS Filters - Attack Detected.|

Can anyone help me with this?
 
One way is to allow rule ID 212980 for the domain, if you use CWAF, it's easy...... Just make sure what you do with your script is done safe.
 
Why are we responding to a post that is 10 months old?
 
Back
Top