CVE-2025-27603
JSON

9.1critical

XWiki Confluence Migrator Pro allows Remote Code Execution via unescaped translations

Severity
9.1critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.81% (higher than 58% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-6qvp-39mm-95v8

Description

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.

Affected

Product or packageVersionsReported by
xwikisas application-confluence-migrator-pro> 1.0, < 1.2.0CVE List
com.xwiki.confluencepro:application-confluence-migrator-pro-ui (Maven)from 1.0 before 1.2.0GitHub Advisory Database

All scores

GitHub_M9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Classification

CWE-95

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database
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.

NVD (es)

XWiki Confluence Migrator Pro ayuda a los administradores a importar paquetes de Confluence en su instancia de XWiki. Un usuario que no tenga derechos de programación puede ejecutar código arbitrario debido a una traducción sin escape al crear una página utilizando la plantilla Página de migración. Esta vulnerabilidad se solucionó en la versión 1.2.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-27603 changed 2025-03-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-6qvp-39mm-95v8 changed 2026-09-10CC-BY-4.0
NVDCVE-2025-27603 changed 2026-06-17Public domain