com.xwiki.confluencepro:application-confluence-migrator-pro-ui Remote Code Execution via unescaped translations
Critical severity
GitHub Reviewed
Published
Mar 7, 2025
in
xwikisas/application-confluence-migrator-pro
•
Updated Mar 7, 2025
Package
Affected versions
>= 1.0, < 1.2.0
Patched versions
1.2.0
Description
Published to the GitHub Advisory Database
Mar 7, 2025
Reviewed
Mar 7, 2025
Published by the National Vulnerability Database
Mar 7, 2025
Last updated
Mar 7, 2025
Impact
A user that doesn't have programming rights can execute arbitrary code when creating a page using the Migration Page template.
A possible attack vector is the following:
XWiki.TranslationDocumentClass
with scopeUSER
.MigrationTemplate
It is expected that
{{/html}} {{async async="true" cached="false" context="doc.reference"}}{{groovy}}println("hello from groovy!"){{/groovy}}{{/async}}
will be present on the page, however,hello from groovy
will be printed.Patches
The issue will be fixed as part of v1.2. The fix was added with commit 35cef22
Workarounds
There are no known workarounds besides upgrading.
References
No references.
References