CVE-2026-44179
JSON

9.9critical

XWiki Pro Macros: excerpt-include title and content injection executes code

Severity
9.9critical CVSS:3.1 by GitHub_M
Exploit likelihood
1.02% (higher than 62% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-w56x-9778-rppx

Description

XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. From 1.13 until 1.14.5, the `excerpt-include` macro does not properly escape the included page's title and executes `excerpt` content with the macro's rights. The title handling in `xwiki-pro-macros-ui/src/main/resources/Confluence/Macros/ExcerptInclude.xml` and the rendering of `excerpt` content into XWiki syntax both allow syntax injection. Any user able to edit a page, even without script or programming rights, can supply executable macro syntax in the title or `excerpt` and cause remote code execution when the page is included. This affects confidentiality, integrity and availability of the whole XWiki installation. This issue is fixed in version 1.14.5.

Affected

Product or packageVersionsReported by
xwikisas xwiki-pro-macros>= 1.13, < 1.14.5CVE List
com.xwiki.pro:xwiki-pro-macros (Maven)from 1.13 before 1.14.5GitHub Advisory Database

All scores

GitHub_M9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/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 Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. From 1.13 until 1.14.5, the `excerpt-include` macro does not properly escape the included page's title and executes `excerpt` content with the macro's rights. The title handling in `xwiki-pro-macros-ui/src/main/resources/Confluence/Macros/ExcerptInclude.xml` and the rendering of `excerpt` content into XWiki syntax both allow syntax injection. Any user able to edit a page, even without script or programming rights, can supply executable macro syntax in the title or `excerpt` and cause remote code execution when the page is included. This affects confidentiality, integrity and availability of the whole XWiki installation. This issue is fixed in version 1.14.5.

GitHub Advisory Database
Summary

The excerpt-include macro does not properly escape the title of the included page and executes the content of the excerpt with the macro's rights. Therefore, it is vulnerable to XWiki syntax injection via the included page's title and content, allowing remote code execution for any user who can edit a page.

Details

The title of the included page isn't escaped in ExcerptInclude.xml#L277. Further, the content of the excerpt macro is rendered to XWiki syntax and output into the macro's content such that it is executed with the macro's rights.

PoC
  1. As a user without script or programming right, create a page named Exploit.
  2. In the edit screen, change the title to {{async}}{{groovy}}println("Hello from Groovy Title!"){{/groovy}}{{/async}}.
  3. Set the content to
{{excerpt-include 0="Exploit.WebHome"}}{{/excerpt-include}}

{{excerpt}}
  {{async}}{{groovy}}println("Hello from Groovy content!"){{/groovy}}{{/async}}
{{/excerpt}}
  1. Save and view the page.
  2. If this displays "Hello from Groovy Title!" without the surrounding macro code or "Hello from Groovy content!", the attack succeeded.
Impact

Remote code execution impacts the confidentiality, integrity and availability of the whole XWiki installation.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-44179 changed 2026-11-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-w56x-9778-rppx changed 2026-06-22CC-BY-4.0
NVDCVE-2026-44179 changed 2026-11-02Public domain