{"id":15988899,"date":"2022-09-07T20:27:41","date_gmt":"2022-09-07T20:27:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=topic&#038;p=15988899"},"modified":"2022-09-07T20:33:51","modified_gmt":"2022-09-07T20:33:51","slug":"403-errors-mod_security","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/403-errors-mod_security\/","title":{"rendered":"403 Errors, mod_security"},"content":{"rendered":"<p>Hi there!<\/p>\n<p>I&#8217;ve started getting 403 errors on my sites today, and I&#8217;ve narrowed it down to an issue with Jetpack.<\/p>\n<p>Also, the errors only appear when I am logged in &#8211; the sites work fine for unauthenticated users.<\/p>\n<p>Here&#8217;s what I found in my server error logs:<\/p>\n<p><code>[Wed Sep 07 20:14:47.073682 2022] [:error] [pid 25529:tid 139752690919168] [client ********] [client ********] ModSecurity: Access denied with code 403 (phase 4). Match of &quot;rx \\\\\\\\ssrc=\\\\\\\\x22https:\\\\\\\\\/\\\\\\\\\/www\\\\\\\\.googletagmanager\\\\\\\\.com\\\\\\\\\/ns\\\\\\\\.html\\\\\\\\?id=GTM|\\\\\\\\ssrc=\\\\\\\\x22https:\\\\\\\\\/\\\\\\\\\/w\\\\\\\\.soundcloud\\\\\\\\.com\\\\\\\\\/player\\\\\\\\\/\\\\\\\\?url=&quot; against &quot;TX:0&quot; required. [file &quot;\/etc\/apache2\/modsecurity.d\/rules\/comodo_free\/19_Outgoing_FilterInFrame.conf&quot;] [line &quot;14&quot;] [id &quot;214540&quot;] [rev &quot;5&quot;] [msg &quot;COMODO WAF: Possibly malicious iframe tag in output||fullofwords.com|F|3&quot;] [data &quot;Matched Data: &lt;iframe src=\\\\x22https:\/\/widgets.wp.com\/3rd-party-cookie-check\/index.html\\\\x22 style=\\\\x22display:none found within TX:0: &lt;iframe src=\\\\x22https:\/\/widgets.wp.com\/3rd-party-cookie-check\/index.html\\\\x22 style=\\\\x22display:none&quot;] [severity &quot;ERROR&quot;] [tag &quot;CWAF&quot;] [tag &quot;FilterInFrame&quot;] [hostname &quot;fullofwords.com&quot;] [uri &quot;\/index.php&quot;] [unique_id &quot;Yxj7tlI-CVeSPfrqHhMjkQAAAMc&quot;], referer: https:\/\/fullofwords.com\/wp-admin\/<\/code>`<\/p>\n<p>Let me know if you need anything else to troubleshoot this issue!<\/p>\n","protected":false},"template":"","class_list":["post-15988899","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15988899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15988899\/revisions"}],"predecessor-version":[{"id":15988917,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15988899\/revisions\/15988917"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15988899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}