CVE-2023-26473 — xwiki-platform-web
MEDIUMCVE-2023-26473 is a medium-severity (CVSS 6.5) CWE-284 vulnerability in org.xwiki.platform:xwiki-platform-web. 2 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for org.xwiki.platform:xwiki-platform-web — see the affected versions and patch details below.
XWiki Platform allows unprivileged users to make arbitrary select queries using DatabaseListProperty and suggest.vm
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2023-26473.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.xwiki.platform:xwiki-platform-web☕org.xwiki.platform:xwiki-platform-web☕org.xwiki.platform:xwiki-platform-webReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Impact
Any user with edit right can execute arbitrary database select and access data stored in the database.
To reproduce:
- In admin, rights, remove scripting rights for {{XWikiAllGroup}}.
- Create a new user without any special privileges.
- Create a page "Private.WebHome" with {{TOKEN_42}} as content. Go to "page administration" and explicitly set all rights for "Admin" to remove them for all other users.
- Logout and login as the unprivileged user. Ensure that the previously created page cannot be viewed.
- Create a new page "ExploitClass.WebHome" and then open it in the class editor (first, make the user an advanced user).
- Add a field named {{ContentList}} of type {{Database List}}
- Enter in field "Hibernate Query" the following content: {noformat}select doc.content, doc.fullName from XWikiDocument as doc where doc.fullName = 'Private.WebHome'{noformat}
- Save the class.
- Open [http://localhost:8080/xwiki/bin/view/ExploitClass/?xpage=suggest&classname=ExploitClass.WebHome&fieldname=ContentList&firCol=doc.fullName&secCol=-]
Patches
The problem has been patched on XWiki 13.10.11, 14.4.7, and 14.10.
Workarounds
There is no workaround for this vulnerability other than upgrading.
References
https://jira.xwiki.org/browse/XWIKI-19523
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
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.xwiki.platform:xwiki-platform-web | ≥ 1.3-rc-1&&< 13.10.11 | 13.10.11org.xwiki.platform:xwiki-platform-web:13.10.11 |
| ☕Maven | org.xwiki.platform:xwiki-platform-web | ≥ 14.0&&< 14.4.7 | 14.4.7org.xwiki.platform:xwiki-platform-web:14.4.7 |
| ☕Maven | org.xwiki.platform:xwiki-platform-web | ≥ 14.5&&< 14.10 | 14.10org.xwiki.platform:xwiki-platform-web:14.10 |
Affected Products
xwikixwikiResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.xwiki.platform:xwiki-platform-web, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.xwiki.platform:xwiki-platform-web to 13.10.11 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-26473 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is CVE-2023-26473 in your dependencies?
Find it across Maven, including transitive dependencies.