Skip to main content

CVE-2023-26055 — Vulnerability in xwiki-commons-xml — CVE Details

CRITICAL

XWiki Platform may allow privilege escalation to programming rights via user's first name

Published March 3, 2023Updated November 8, 2023Source: OSV

What Should I Do?

Address in Next Maintenance Window

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

Does your project use an affected org.xwiki.commons:xwiki-commons-xml version?

Paste your pom.xml to check it for CVE-2023-26055 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

Impact

Any user can edit his own profile and inject code which is going to be executed with programming right.

Steps to reproduce:

  • Set your first name to
    {{cache id="userProfile"}}{{groovy}}println("Hello from groovy!"){{/groovy}}{{/cache}}

The first name appears as interpreted "Hello from groovy" instead of the expected fully escaped "{{cache id="userProfile"}}{{groovy}}println("Hello from groovy!"){{/groovy}}{{/cache}}".

The same vulnerability can also be exploited in all other places where short text properties are displayed, e.g., in apps created using Apps Within Minutes that use a short text field.

Patches

The problem has been patched on versions 13.10.9, 14.4.4, 14.7RC1.

Workarounds

There are no other workarounds than upgrading XWiki or patching the xwiki-commons-xml JAR file.

References

For more information

If you have any questions or comments about this advisory:

Advisory Timeline

  • First published March 3, 2023 (1364 days ago).
  • Last revised November 8, 2023 — 249 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.xwiki.commons:xwiki-commons-xml to 13.10.9 or later
<!-- Update pom.xml dependency version to 13.10.9 for org.xwiki.commons:xwiki-commons-xml -->
Maven
Update org.xwiki.commons:xwiki-commons-xml to 14.4.4 or later
<!-- Update pom.xml dependency version to 14.4.4 for org.xwiki.commons:xwiki-commons-xml -->
Maven
Update org.xwiki.commons:xwiki-commons-xml to 14.7-rc-1 or later
<!-- Update pom.xml dependency version to 14.7-rc-1 for org.xwiki.commons:xwiki-commons-xml -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: Maven (1).

PackageFixed In
org.xwiki.commons:xwiki-commons-xml Maven · Affected: 10.0, 10.1, 10.1-rc-1, 10.10 (+365 more)13.10.9
org.xwiki.commons:xwiki-commons-xml Maven · Affected: 14.0, 14.0-rc-1, 14.1, 14.1-rc-1 (+11 more)14.4.4
org.xwiki.commons:xwiki-commons-xml Maven · Affected: 14.5, 14.6, 14.6-rc-114.7-rc-1

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-2023-26055?
XWiki Platform may allow privilege escalation to programming rights via user's first name. 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-2023-26055?
CVE-2023-26055 affects org.xwiki.commons:xwiki-commons-xml. It has a 2.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-26055 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)
2.30%
EPSS percentile: 84

This places it in the top quartile of EPSS-scored vulnerabilities — 84% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.

Also Known As

GHSA-8cw6-4r32-6r3h

Related CVEs

  • CVE-2026-107726
    CRITICAL

    Hazelcast allows arbitrary member memory access by low-privileged client

  • CVE-2024-31996
    CRITICAL

    XWiki Commons missing escaping of `{` in Velocity escapetool allows remote code execution

  • CVE-2026-107282
    CRITICAL

    AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host

  • CVE-2026-23734
    CRITICAL

    XWiki Platform has path traversal via resources parameter in ssx and jsx endpoints when using leading slash

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml