CVE-2023-29523 — Vulnerability in xwiki-platform-oldcore — CVE Details
XWiki Platform vulnerable to code injection in display method used in user profiles
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (4.03%). Schedule for your next planned update.
Does your project use an affected org.xwiki.platform:xwiki-platform-oldcore version?
Paste your pom.xml to check it for CVE-2023-29523 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 who can edit their own user profile can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The following syntax, to be put, e.g., in the about section of the user profile, demonstrates a proof of concept:
{{html wiki="true"}}~{~{~/~h~t~m~l~}~}~ ~{~{~c~a~c~h~e~}~}~{~{~g~r~o~o~v~y~}~}~p~r~i~n~t~l~n~(~1~)~{~{~/~g~r~o~o~v~y~}~}~{~{~/~c~a~c~h~e~}~}~{{/html}}
While it would be expected that the above code is displayed just without the ~, in fact just "1" is displayed, followed by a lot of raw HTML code. The same vulnerability can also be exploited in other contexts where the display method on a document is used to display a field with wiki syntax, for example in applications created using App Within Minutes.
Patches
This has been patched in XWiki 13.10.11, 14.4.8, 14.10.2 and 15.0RC1.
Workarounds
There is no workaround apart from upgrading.
References
- https://jira.xwiki.org/browse/XWIKI-20327
- https://github.com/xwiki/xwiki-platform/commit/0d547181389f7941e53291af940966413823f61c
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 April 20, 2023 (1316 days ago).
- Last revised September 10, 2026 — 1238 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 14.10.2 for org.xwiki.platform:xwiki-platform-oldcore -->
<!-- Update pom.xml dependency version to 14.4.8 for org.xwiki.platform:xwiki-platform-oldcore -->
<!-- Update pom.xml dependency version to 13.10.11 for org.xwiki.platform:xwiki-platform-oldcore -->
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.platform:xwiki-platform-oldcore Maven · Affected: All versions | 14.10.2 |
| org.xwiki.platform:xwiki-platform-oldcore Maven · Affected: All versions | 14.4.8 |
| org.xwiki.platform:xwiki-platform-oldcore Maven · Affected: All versions | 13.10.11 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-74
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-platform/security/advisories/GHSA-x764-ff8r-9hpxWEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-29523ADVISORY
- https://github.com/xwiki/xwiki-platform/commit/0d547181389f7941e53291af940966413823f61cWEB
- https://extensions.xwiki.org/xwiki/bin/view/Extension/App%20Within%20Minutes%20ApplicationWEB
- https://github.com/xwiki/xwiki-platformPACKAGE
- https://jira.xwiki.org/browse/XWIKI-20327WEB
Frequently Asked Questions
- What is CVE-2023-29523?
- XWiki Platform vulnerable to code injection in display method used in user profiles. 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-29523?
- CVE-2023-29523 affects org.xwiki.platform:xwiki-platform-oldcore. It has a 4.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-29523 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 10% of EPSS-scored vulnerabilities — 91.4% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2023-26474CRITICAL
XWiki Platform vulnerable to privilege escalation via properties with wiki syntax that are executed with wrong author
- CVE-2023-36468CRITICAL
Upgrading doesn't prevent exploiting vulnerable XWiki documents
- CVE-2024-31987CRITICAL
XWiki Platform remote code execution from account via custom skins support
- CVE-2023-29526CRITICAL
XWiki Platform's async and display macro allow displaying and interacting with any document in restricted mode
- CVE-2023-46242CRITICAL
XWiki Platform vulnerable to remote code execution via the edit action because it lacks CSRF token
- CVE-2024-37899CRITICAL
XWiki Platform allows remote code execution from user account
- CVE-2025-49586HIGH
XWiki allows remote code execution through preview of XClass changes in AWM editor
- CVE-2026-40104MEDIUM
XWiki's REST APIs can list all pages/spaces, leading to unavailability