CVE-2023-26056
XWiki Platform allows macro execution as any user without programming rights through the context macro
XWiki Platform is a generic wiki platform. Starting in version 3.0-milestone-1, it's possible to execute a script with the right of another user, provided the target user does not have programming right. The problem has been patched in XWiki 14.8-rc-1, 14.4.5, and 13.10.10. There are no known workarounds for this issue.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.4
XWiki Platform allows macro execution as any user without programming rights through the context macro
XWiki Platform is a generic wiki platform. Starting in version 3.0-milestone-1, it's possible to execute a script with the right of another user, provided the target user does not have programming right. The problem has been patched in XWiki 14.8-rc-1, 14.4.5, and 13.10.10. There are no known workarounds for this issue.
- Record
CVE-2023-26056- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
EUVDEUVD-2023-0937
5.4
XWiki Platform is a generic wiki platform. Starting in version 3.0-milestone-1, it's possible to execute a script with the right of another user, provided the target user does not have programming right. The problem has been patched in XWiki 14.8-rc-1, 14.4.5, and 13.10.10. There are no known workarounds for this issue.
- Record
EUVD-2023-0937- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-859x-p6jp-rc2w
5.4
xwiki contains Incorrect Authorization
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
- Record
GHSA-859x-p6jp-rc2w- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
NVD
5.4
XWiki Platform is a generic wiki platform. Starting in version 3.0-milestone-1, it's possible to execute a script with the right of another user, provided the target user does not have programming right. The problem has been patched in XWiki 14.8-rc-1, 14.4.5, and 13.10.10. There are no known workarounds for this issue.
- Record
CVE-2023-26056- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
OSV
5.4
XWiki Platform allows macro execution as any user without programming rights through the context macro
XWiki Platform is a generic wiki platform. Starting in version 3.0-milestone-1, it's possible to execute a script with the right of another user, provided the target user does not have programming right. The problem has been patched in XWiki 14.8-rc-1, 14.4.5, and 13.10.10. There are no known workarounds for this issue.
- Record
CVE-2023-26056- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
OSVGHSA-859x-p6jp-rc2w
5.4
xwiki contains Incorrect Authorization
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
- Record
GHSA-859x-p6jp-rc2w- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.xwiki.platform:xwiki-platform-rendering-macro-contextMaven |
3.0-milestone-1 up to 13.10.10 | 13.10.10 |
org.xwiki.platform:xwiki-platform-rendering-macro-contextMaven |
14.0-rc-1 up to 14.4.5 | 14.4.5 |
org.xwiki.platform:xwiki-platform-rendering-macro-contextMaven |
14.5 up to 14.8-rc-1 | 14.8-rc-1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-26056 is a medium vulnerability (CVSS 5.4) in Xwiki, published March 2, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.56%, the 46th percentile. Fixed in org.xwiki.platform:xwiki-platform-rendering-macro-context 13.10.10.
References
github.com/xwiki/xwiki-platform/security/advisories/GHSA-859x-p6jp-rc2w
github.com/xwiki/xwiki-platform/commit/4b75f212c2dd2dfc5fb5726c7830c6dbc9a425c6
github.com/xwiki/xwiki-platform/commit/bd34ad6710ed72304304a3d5fec38b7cc050ef3b
github.com/xwiki/xwiki-platform/commit/dd3f4735b41971b3afc3f3aedf6664b4e8be4894
jira.xwiki.org/browse/XWIKI-19856
nvd.nist.gov/vuln/detail/CVE-2023-26056
github.com/advisories/GHSA-859x-p6jp-rc2w
github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26056.json
github.com/xwiki/xwiki-platform