Adobe Experience Manager(AEM) provides an interface called AEM Groovy console to run Groovy scripts. The Groovy scripts can be used to tamper contents in JCR, call OSGi services, or execute arbitrary code using AEM, Sling, or certain APIs in JCR.
If the groovy console is exposed, an attacker can perform RCE.