Real Cookie Banner REST API request blocked despite plugin being whitelisted
-
I’m using the “Real Cookie Banner” plugin, which relies on REST API endpoints to save user consent decisions. I’ve explicitly added the plugin to the REST API whitelist in the AIOS firewall settings (e.g.
real-cookie-banner).However, the consent-saving POST request still gets blocked with a 403 Forbidden unless the REST API is fully enabled again. This happens even though the plugin is listed as allowed.
Here’s the request in question (or a typical example):
/wp-json/wlgo-iqqrli-fbqrhx/a1/0f76d6cc73441e3d6/consent?_method=POST&_v=5.2.10&_locale=userThis leads to two concerns:
– The REST API whitelist doesn’t seem to apply reliably, possibly because the request uses a hash-based namespace or anonymous user context
– Query parameters like_method=POST,_v, or_locale=usermight be triggering internal string filters or 6G rules (e.g. method override detection)In any case, it means the plugin can’t function properly unless I fully disable REST API restrictions, which isn’t ideal from a security perspective.
Could you clarify under which conditions the REST API whitelist actually applies?
And is there a way to allow only specific endpoints (like the consent route) without exposing the full API?
You must be logged in to reply to this topic.