https://en.wikipedia.org/w/api.php?action=abusefilterchecksyntax&format=json&filter=norm('F00BAR')
{"error":{"code":"permissiondenied","info":"You don't have permission to check syntax of abuse filters.","*":"See https://en.wikipedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."},"servedby":"mw1227"}
{"abusefilterevalexpression":{"result":"FOBAR"}}
Evaluating an expression requires first checking its syntax. If abusefilterchecksyntax is a DoS vector, so is abusefilterevalexpression. So either (A) both should be restricted, or (B) both should be available to all users. I don't know which is correct, but with (evil) regex involved, I imagine it's (A).