CVE-2023-26056 is a medium-severity (CVSS 5.4) CWE-863 vulnerability in org.xwiki.platform:xwiki-platform-rendering-macro-context. 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-rendering-macro-context — see the affected versions and patch details below.
XWiki Platform allows macro execution as any user without programming rights through the context macro
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-26056.
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-rendering-macro-context☕org.xwiki.platform:xwiki-platform-rendering-macro-context☕org.xwiki.platform:xwiki-platform-rendering-macro-contextReal-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
It's possible to execute a script with the right of another user (provided the target user does not have programming right).
For example, the following:
{{context document="xwiki:XWiki.userwithscriptright" transformationContext="document"}}{{velocity}}Hello from Velocity!{{/velocity}}{{/context}}
written by a user not having script right (for example in the user's profile) should produce an error (the user is not allowed to write scripts). However, because of the vulnerability, if the author of the document "xwiki:XWiki.userwithscriptright" has script right (but not programming right) the script will be executed with as if it was written by the target user.
Patches
The problem has been patched in XWiki 14.8RC1, 14.4.5 and 13.10.10.
Workarounds
There's no workaround for this issue.
References
https://jira.xwiki.org/browse/XWIKI-19856
For more information
If you have any questions or comments about this advisory:
- Open an issue in JIRA
- Email us at security ML
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.xwiki.platform:xwiki-platform-rendering-macro-context | ≥ 3.0-milestone-1&&< 13.10.10 | 13.10.10org.xwiki.platform:xwiki-platform-rendering-macro-context:13.10.10 |
| ☕Maven | org.xwiki.platform:xwiki-platform-rendering-macro-context | ≥ 14.0-rc-1&&< 14.4.5 | 14.4.5org.xwiki.platform:xwiki-platform-rendering-macro-context:14.4.5 |
| ☕Maven | org.xwiki.platform:xwiki-platform-rendering-macro-context | ≥ 14.5&&< 14.8-rc-1 | 14.8-rc-1org.xwiki.platform:xwiki-platform-rendering-macro-context:14.8-rc-1 |
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-rendering-macro-context, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.xwiki.platform:xwiki-platform-rendering-macro-context to 13.10.10 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-26056 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-26056 in your dependencies?
Find it across Maven, including transitive dependencies.