CVE-2023-26055 — Vulnerability in xwiki-commons-xml — CVE Details
XWiki Platform may allow privilege escalation to programming rights via user's first name
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.
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
- 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
- Email us at Security Mailing List
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.
<!-- Update pom.xml dependency version to 13.10.9 for org.xwiki.commons:xwiki-commons-xml -->
<!-- Update pom.xml dependency version to 14.4.4 for org.xwiki.commons:xwiki-commons-xml -->
<!-- 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).
| Package | Fixed 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-1 | 14.7-rc-1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-150
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-8cw6-4r32-6r3hWEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-26055ADVISORY
- https://github.com/xwiki/xwiki-commonsPACKAGE
- https://jira.xwiki.org/browse/XCOMMONS-2498WEB
- https://jira.xwiki.org/browse/XWIKI-19793WEB
- https://jira.xwiki.org/browse/XWIKI-19794WEB
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
Maximum impact if exploited, often with little effort or access required.
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
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2024-31996CRITICAL
XWiki Commons missing escaping of `{` in Velocity escapetool allows remote code execution
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host
- CVE-2026-23734CRITICAL
XWiki Platform has path traversal via resources parameter in ssx and jsx endpoints when using leading slash