Skip to main content

CVE-2026-44179 — Vulnerability in xwiki-pro-macros — CVE Details

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

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (1.02%). Schedule for your next planned update.

Does your project use an affected com.xwiki.pro:xwiki-pro-macros version?

Paste your pom.xml to check it for CVE-2026-44179 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

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. 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.

Advisory Timeline

  • First published June 22, 2026 (157 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, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: Maven (1).

PackageFixed In
com.xwiki.pro:xwiki-pro-macros Maven · Affected: 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. It has a 1.0% probability of exploitation within 30 days (EPSS score). 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

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
1.02%
EPSS percentile: 62.4

This is an above-median EPSS score — 62.4% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-w56x-9778-rppx

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml