CVE-2025-27603: com.xwiki.confluencepro:application-confluence-migrator-pro-ui 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: Use the object editor to add an object of type XWiki.TranslationDocumentClass with scope USER.
Published Mar 7, 2025
Affected packages
com.xwiki.confluencepro:application-confluence-migrator-pro-ui
- Ecosystem
- Maven
- Affected
- >= 1.0, < 1.2.0
- Fixed in
- 1.2.0
- Check
mvn dependency:tree -Dincludes=com.xwiki.confluencepro:application-confluence-migrator-pro-ui
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.TranslationDocumentClasswith scopeUSER. - Access an unexisting page using the
MigrationTemplate
http://localhost:8080/xwiki/bin/edit/Page123?template=ConfluenceMigratorPro.Code.MigrationTemplateIt 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
- https://github.com/xwikisas/application-confluence-migrator-pro/security/advisories/GHSA-6qvp-39mm-95v8
- https://github.com/xwikisas/application-confluence-migrator-pro/commit/36cef2271bd429773698ca3a21e47b6d51d6377d
- https://nvd.nist.gov/vuln/detail/CVE-2025-27603
- https://github.com/advisories/GHSA-6qvp-39mm-95v8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
