My Mautic version is: v2.16.2
My PHP version is 7.1.33 :
My MySQL/MariaDB version is (delete as applicable): MariaDB 10.1
I’m trying to clone or create a new email template in Mautic. I add the name of the email and click on Apply.
These errors are showing in the installer :
It gets frozen and I can’t do anything else.
These errors are showing in the Apache log :
[Thu Jun 25 18:29:04.394947 2020] [:error] [pid 31798:tid 140177825523456] [client 82.159.35.81:42556] [client 82.159.35.81] ModSecurity: Access denied with code 403 (phase 2). Pattern match “<body\\b.{0,}?\\bbackground\\b” at ARGS:emailform[customHtml]. [file “/etc/modsecurity/07_XSS_XSS.conf”] [line “50”] [id “212300”] [rev “2”] [msg “WAF: Cross-site Scripting (XSS) Attack||inb.[redacted].com|F|2”] [data “Matched Data: <body style=\x22margin: 0px; cursor: auto; overflow: visible;\x22 class=\x22ui-sortable\x22>
These errors are showing in the upgrade_log.txt file (located in the root of your Mautic instance when an upgrade has been attempted - ensure you remove or redact any sensitive data such as domain names in the file path) :
My problem is : I can’t create or clone new email templates.
Steps I have tried to fix the problem :
I tried to clear the cache.