Loading...
Skip to main content

CVE-2023-26055 — Vulnerability in...

CRITICAL

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

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

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](https://extensions.xwiki.org/xwiki/bin/view/Extension/App%20Within%20Minutes%20Application) 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 * https://jira.xwiki.org/browse/XWIKI-19793 * https://jira.xwiki.org/browse/XWIKI-19794 * https://jira.xwiki.org/browse/XCOMMONS-2498 ### For more information If you have any questions or comments about this advisory: * Open an issue in [Jira XWiki.org](https://jira.xwiki.org/) * Email us at [Security Mailing List](mailto:security@xwiki.org)

Advisory Timeline

  • First published March 3, 2023 (1319 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, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.xwiki.commons:xwiki-commons-xml
maven
10.0, 10.1, 10.1-rc-1, 10.10 (+365 more)13.10.9
org.xwiki.commons:xwiki-commons-xml
maven
14.0, 14.0-rc-1, 14.1, 14.1-rc-1 (+11 more)14.4.4
org.xwiki.commons:xwiki-commons-xml
maven
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. 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

Exploitation is straightforward and causes maximum impact. Patch immediately.

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 if you're affected

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

Scan Your Dependencies