Progress MarkLogic Server versions 12.x before 12.1.0 and 11.x before 11.3.7 contain a vulnerability where user-controlled values supplied to certain higher-order XQuery functions are evaluated in an elevated security context. This can lead to privilege escalation beyond the attacker's granted permissions. The vulnerability has a high severity with a CVSS score of 8.6.