CVE-2025-27603: XWiki Confluence Migrator Pro allows Remote Code Execution via unescaped translations
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: Create a page and add the following content: confluencepro.job.question.advanced.input={{/html}} {{async async="true" cached="false" context="doc.reference"}}{{groovy}}println("hello from groovy!"){{/groovy}}{{/async}} Use the object editor to add an object of type XWiki.TranslationDocumentClass with scope USER. Access an unexisting page using the MigrationTemplate http://localhost:8080/xwiki/bin/edit/Page123?template=ConfluenceMigratorPro.Code.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.
Other sources
XWiki Confluence Migrator Pro helps admins to import confluence packages into their XWiki instance. A user that doesn't have programming rights can execute arbitrary code due to an unescaped translation when creating a page using the Migration Page template. This vulnerability is fixed in 1.2.0.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/com.xwiki.confluencepro:application-confluence-migrator-pro-uito a version that resolves this vulnerability.Fixed in 1.2.0 - Upgrade
Upgrade
XWiki Confluence Migrator Proto a version that resolves this vulnerability.Fixed in 1.2.0Patch 35cef22
Event History
Frequently Asked Questions
What is the severity of CVE-2025-27603?
CVE-2025-27603 is classified as a high severity vulnerability due to the potential for arbitrary code execution.
How do I fix CVE-2025-27603?
To fix CVE-2025-27603, upgrade XWiki Confluence Migrator Pro to version 1.2.0 or later.
Who is affected by CVE-2025-27603?
CVE-2025-27603 affects users of XWiki Confluence Migrator Pro versions prior to 1.2.0.
What kind of vulnerability is CVE-2025-27603?
CVE-2025-27603 is an arbitrary code execution vulnerability stemming from an unescaped translation issue.
Can users without programming rights exploit CVE-2025-27603?
Yes, users without programming rights can exploit CVE-2025-27603 to execute arbitrary code when creating a page.