Skip to main content

XWiki Pro Macros CVE-2025-55728

CRITICAL
Eval Injection (CWE-95)
2025-09-09 security-advisories@github.com
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain account with page-edit rights
  2. Exploit
    Inject XWiki syntax into panel macro classes parameter
  3. Execution
    Unescaped parameter rendered as script
  4. Impact
    Execute arbitrary code on XWiki server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated XWiki account with edit permission on at least one page (the description states 'any user who can edit any page'), making this authenticated rather than the PR:N implied by the NVD vector. The specific trigger is the panel macro's 'classes' parameter, which XWiki Pro Macros versions 1.0 through 1.26.4 insert into XWiki 2.1 syntax without escaping (Panel.xml line ~554), enabling syntax injection and resulting script execution. Limiting factors: attacker must possess or acquire edit rights; wikis that restrict editing to trusted users, or that have upgraded to 1.26.5, are not exposed. No special non-default configuration is otherwise needed - the panel macro is a standard feature of the extension.

Impact

This is a serious but conditional risk. The NVD CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, score 9.8) rates it as unauthenticated network RCE, but this directly conflicts with the description, which states exploitation requires 'any user who can edit any page' - a clear privilege prerequisite. CONFLICT STATED EXPLICITLY: CVSS claims PR:N (unauthenticated) yet the vulnerability demonstrably requires an authenticated account with page-edit rights, so the true privilege requirement is PR:L, not PR:N - verify with the GHSA advisory. The source-code evidence (unescaped $classes in Panel.xml rendered as XWiki 2.1 syntax) confirms a genuine code-injection path (CWE-95). Signals are otherwise moderate: EPSS is 3.35% (87th percentile) - elevated but not indicative of mass exploitation; there is no CISA KEV listing and no public exploit identified, so this is not confirmed in-the-wild activity. Net: a legitimately dangerous RCE in multi-user wiki deployments where untrusted users hold edit rights, but the real-world blast radius is tempered by the authentication requirement the raw 9.8 score hides.

Exploit ScenarioDerived

An attacker who holds (or phishes/registers for) an account with edit permissions on any wiki page inserts a panel macro whose 'classes' parameter contains crafted XWiki 2.1 syntax. When the page renders, the unescaped parameter is interpreted as script, executing attacker-controlled code on the XWiki server. No public exploit code was identified at time of analysis, though the fixing commit discloses the exact injection point.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 3.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Oct 18, 2026

Remote code execution in XWiki Pro Macros versions 1.0 through 1.26.4 lets any authenticated user who holds edit permission on a single wiki page break out of the panel macro's 'classes' parameter and inject arbitrary XWiki 2.1 syntax, which the renderer then evaluates with server-side privileges. The flaw is missing output escaping (CWE-95) in XWiki/Macros/Panel.xml, and because injected content executes with the rendering context's rights the assessed impact is scope-changed with high confidentiality, integrity and availability loss (CVSS 3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H). No public exploit code or CISA KEV entry was identified at time of analysis, but EPSS sits at 3.35% (87th percentile) and a vendor patch (1.26.5) plus public GitHub commit are available, so exposure should be closed quickly on collaborative wikis where edit rights are broadly granted.

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 19:11 CVSS 10.0

XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Rated critical severity (CVSS 10.0), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

RemediationAI

Vendor-released patch: XWiki Pro Macros 1.26.5. Upgrade the extension to 1.26.5 (or later) via the XWiki Extension Manager or by replacing the xwiki-pro-macros-ui JAR; the fix is commit 3ca815294bf54fc024b2363efbece7aa08b8efd5, which escapes the 'classes' parameter with $services.rendering.escape($classes, 'xwiki/2.1') before it is used. Details are in the GitHub advisory https://github.com/xwikisas/xwiki-pro-macros/security/advisories/GHSA-48f4-h726-74p5 and JIRA https://jira.xwiki.org/browse/XWIKI-20449. If upgrading must be deferred, the effective compensating control is to deny edit rights on wiki pages to untrusted or unverified accounts (for example by tightening the XWikiRights/XWikiGlobalRights of the affected spaces or by moving to a 'contributors only' publishing model); the trade-off is loss of open collaboration and, in migration projects, the need to import Confluence content through a privileged migration account instead. A second option is to unregister or delete the Panel macro page XWiki.Macros.Panel from the xwiki-pro-macros-ui extension so the vulnerable rendering path is unavailable; the trade-off is that Confluence panel content will no longer render correctly during migration. Because the injection is persisted in page content, also review recently edited pages for suspicious (% class=... or {{script}}/{{velocity}} constructs after the fix is applied, and rotate or review any credentials visible to the XWiki rendering/scripting context in case the flaw was exercised. No vendor patch alternative exists for versions below 1.26.5; the fix version is the authoritative remediation.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

XWiki Pro Macros (published as xwiki-pro-macros, CPE cpe:2.3:a:xwiki:pro_macros) is a commercial extension supplying Confluence-compatible rendering macros to ease content migration into XWiki; the Panel macro reproduces Confluence's panel container and accepts the Confluence 'classes' parameter for CSS styling. In the vulnerable code the parameter is concatenated directly into an XWiki 2.1 syntax block, (% class="macro-panel $classes" %)((( ... ))), inside XWiki/Macros/Panel.xml (around line 554). Because the value is not escaped before being handed to the XWiki rendering pipeline, an attacker can supply markup that terminates the class attribute and the surrounding macro block and starts new XWiki syntax, including scripting macros. This is the CWE-95 (improper neutralization of directives in dynamically evaluated code, i.e. eval injection) class: untrusted input reaches an interpreter rather than a plain string sink. The supplied fix commit 3ca8152 replaces the raw interpolation with $services.rendering.escape($classes, 'xwiki/2.1') into a $escapedClasses variable, so the parameter is neutralized for the target syntax before rendering. Exploitation requires an authenticated account with edit rights on at least one page (hence PR:L in the assessed vector rather than the PR:N in the NVD record); the scope change (S:C) reflects that injected rendering executes in the wiki's server-side scripting context, not merely in the attacker's page-authoring context.

Know when Xwiki gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

Exploitation needs an authenticated editor so PR:L not PR:N; script injection escapes the document context to execute on the server, giving S:C with full C/I/A impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
Analysis Updated
Oct 18, 2026 - 21:49 vuln.today
v2 - CVSS changed
CVSS changed
Oct 18, 2026 - 21:38 NVD
10.0 (CRITICAL) 9.8 (CRITICAL)
Patch released
Mar 28, 2026 - 19:11 nvd
Patch available
CVE Published
Sep 09, 2025 - 19:15 nvd
CRITICAL 10.0

DescriptionNVD

XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Starting in version 1.0 and prior to version 1.26.5, missing escaping of the classes parameter in the panel macro allows remote code execution for any user who can edit any page The classes parameter is used without escaping in XWiki syntax, thus allowing XWiki syntax injection which enables remote code execution. Version 1.26.5 contains a patch for the issue.

Executive ViewAI

Why It Matters

XWiki Pro Macros versions 1.0 through 1.26.4 expose collaborative wikis to server-side remote code execution by any authenticated user with edit permission on a single page, making broadly editable wikis a critical exposure. Leadership should prioritize remediation because exploitation could compromise the confidentiality, integrity, and availability of the wiki platform and hosted content; no public exploit was identified at time of analysis, and a vendor patch is available.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
3.3%
Top 13% exploitable
Prevalence
Low
commercial niche XWiki extension for Confluence migration, limited deployment footprint
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 3.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

52
Low Medium High Critical
KEV: 0
EPSS: +3
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)NVD

cpe:2.3:a:xwiki:pro_macros:*:*:*:*:*:*:*:*

More in Xwiki

View all
CVE-2025-24893 CRITICAL POC
9.8 Feb 20

XWiki Platform allows unauthenticated remote code execution through the SolrSearch endpoint, enabling guests to execute

CVE-2024-21650 CRITICAL POC
10.0 Jan 08

XWiki Platform prior to specific patched versions contains a CVSS 10.0 remote code execution vulnerability through the u

CVE-2023-29525 HIGH POC
8.8 Apr 19

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Rated high seve

CVE-2025-32969 CRITICAL POC
9.3 Apr 23

XWiki is a generic wiki platform. Rated critical severity (CVSS 9.3), this vulnerability is remotely exploitable, no aut

CVE-2025-55727 CRITICAL POC
9.8 Sep 09

Remote code execution in XWiki Pro Macros 1.0 through 1.26.4 allows authenticated users who can edit at least one page o

CVE-2023-27479 CRITICAL POC
9.9 Mar 07

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Rated critical

CVE-2023-26055 CRITICAL POC
9.9 Mar 02

XWiki Commons are technical libraries common to several other top level XWiki projects. Rated critical severity (CVSS 9.

CVE-2024-31996 CRITICAL POC
9.8 Apr 10

XWiki Platform is a generic wiki platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2024-31982 CRITICAL POC
9.8 Apr 10

XWiki Platform is a generic wiki platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2023-46731 CRITICAL POC
9.8 Nov 06

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Rated critical

CVE-2023-26477 CRITICAL POC
9.8 Mar 02

XWiki Platform is a generic wiki platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2025-52472 CRITICAL POC
9.3 Oct 06

Unauthenticated HQL injection in the XWiki Platform REST search API lets remote attackers inject arbitrary Hibernate Que

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy