It's possible to execute any wiki content with the right of the TipsPanel author by creating a tip UI extension.
To reproduce:
tip={{async async="true" cached="false" context="doc.reference"}}{{groovy}}println("Hello " + "from groovy!"){{/groovy}}{{/async}}
The groovy macro is executed, after the fix you get an error instead.
This has been patched in XWiki 15.1-rc-1 and 14.10.5.
There are no known workarounds for it.
If you have any questions or comments about this advisory:
{
"cwe_ids": [
"CWE-863"
],
"github_reviewed": true,
"github_reviewed_at": "2023-06-20T19:55:36Z",
"nvd_published_at": "2023-06-20T20:15:09Z",
"severity": "HIGH"
}