It's possible for a user to execute anything with the right of the author of the XWiki.ClassSheet document.
Steps to Reproduce:
DocumentSheetBinding
with value Default Class Sheet
{{async}}{{groovy}}println("Hello " + "from groovy!"){{/groovy}}{{/async}}
Expected result:
An error is displayed as the user doesn't have the right to execute the Groovy macro.
Actual result:
The text "Hello from groovy!" is displayed at the top of the document.
This has been patched in XWiki 15.0-rc-1 and 14.10.4.
There are no known workarounds for it.
https://jira.xwiki.org/browse/XWIKI-20566 https://github.com/xwiki/xwiki-platform/commit/de72760d4a3e1e9be64a10660a0c19e9534e2ec4
If you have any questions or comments about this advisory: * Open an issue in Jira XWiki.org * Email us at Security Mailing List
{ "nvd_published_at": "2023-05-09T16:15:15Z", "cwe_ids": [ "CWE-863" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2023-05-11T20:36:59Z" }