Loading...
Skip to main content

CVE-2026-44179 — Vulnerability in com.xwiki.pro:xwiki-pro-macros —...

CRITICAL

xwiki-pro-macros has remote code execution from page title and content via excerpt-include macro

Published June 22, 2026Updated June 22, 2026Source: osv

Summary

### 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](https://github.com/xwikisas/xwiki-pro-macros/blob/main/xwiki-pro-macros-ui/src/main/resources/Confluence/Macros/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}} ``` 4. Save and view the page. 5. 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.

Advisory Timeline

  • First published June 22, 2026 (112 days ago).
  • Last revised June 22, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update com.xwiki.pro:xwiki-pro-macros to 1.14.5 or later
<!-- Update pom.xml dependency version to 1.14.5 for com.xwiki.pro:xwiki-pro-macros -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
com.xwiki.pro:xwiki-pro-macros
maven
All versions1.14.5

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-44179?
xwiki-pro-macros has remote code execution from page title and content via excerpt-include macro This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
How do I check if my project is affected by CVE-2026-44179?
CVE-2026-44179 affects com.xwiki.pro:xwiki-pro-macros. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-44179 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.9

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-w56x-9778-rppx

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies