CVE-2023-26475
XWiki Platform vulnerable to Remote Code Execution in Annotations
XWiki Platform is a generic wiki platform. Starting in version 2.3-milestone-1, the annotation displayer does not execute the content in a restricted context. This allows executing anything with the right of the author of any document by annotating the document. This has been patched in XWiki 13.10.11, 14.4.7 and 14.10. There is no easy workaround except to upgrade.
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
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
10.0
XWiki Platform vulnerable to Remote Code Execution in Annotations
XWiki Platform is a generic wiki platform. Starting in version 2.3-milestone-1, the annotation displayer does not execute the content in a restricted context. This allows executing anything with the right of the author of any document by annotating the document. This has been patched in XWiki 13.10.11, 14.4.7 and 14.10. There is no easy workaround except to upgrade.
- Record
CVE-2023-26475- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-270, CWE-269
- Updated
- 2026-11-02
EUVDEUVD-2023-1025
10.0
XWiki Platform is a generic wiki platform. Starting in version 2.3-milestone-1, the annotation displayer does not execute the content in a restricted context. This allows executing anything with the right of the author of any document by annotating the document. This has been patched in XWiki 13.10.11, 14.4.7 and 14.10. There is no easy workaround except to upgrade.
- Record
EUVD-2023-1025- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-h6f5-8jj5-cxhr
9.9
xwiki-platform vulnerable to Remote Code Execution in Annotations
Impact
The annotation displayer does not execute the content in a restricted context. This allows executing anything with the right of the author of any document by annotating the document.
To reproduce: add an annotation with the content {{groovy}}print "hello"{{/groovy}} and click the yellow scare to get a display of the annotation inline.
The result is "hello" but it should be an error suggesting that it's not allowed to use the groovy macro.
Patches
This has been patched in XWiki 13.10.11, 14.4.7 and 14.10.
Workarounds
There is no easy workaround except to upgrade.
References
https://jira.xwiki.org/browse/XWIKI-20360
https://jira.xwiki.org/browse/XWIKI-20384
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
Attribution
This vulnerability has been reported by René de Sain @renniepak.
- Record
GHSA-h6f5-8jj5-cxhr- CVSS 3.1
- 9.9 Critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-269, CWE-270
- Updated
- 2026-11-02
NVD
9.9
XWiki Platform is a generic wiki platform. Starting in version 2.3-milestone-1, the annotation displayer does not execute the content in a restricted context. This allows executing anything with the right of the author of any document by annotating the document. This has been patched in XWiki 13.10.11, 14.4.7 and 14.10. There is no easy workaround except to upgrade.
- Record
CVE-2023-26475- CVSS 3.1
- 9.9 Critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-269, CWE-270
- Updated
- 2026-11-02
OSV
9.9
XWiki Platform vulnerable to Remote Code Execution in Annotations
XWiki Platform is a generic wiki platform. Starting in version 2.3-milestone-1, the annotation displayer does not execute the content in a restricted context. This allows executing anything with the right of the author of any document by annotating the document. This has been patched in XWiki 13.10.11, 14.4.7 and 14.10. There is no easy workaround except to upgrade.
- Record
CVE-2023-26475- CVSS 3.1
- 9.9 Critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-269, CWE-270
- Updated
- 2026-11-02
OSVGHSA-h6f5-8jj5-cxhr
9.9
xwiki-platform vulnerable to Remote Code Execution in Annotations
Impact
The annotation displayer does not execute the content in a restricted context. This allows executing anything with the right of the author of any document by annotating the document.
To reproduce: add an annotation with the content {{groovy}}print "hello"{{/groovy}} and click the yellow scare to get a display of the annotation inline.
The result is "hello" but it should be an error suggesting that it's not allowed to use the groovy macro.
Patches
This has been patched in XWiki 13.10.11, 14.4.7 and 14.10.
Workarounds
There is no easy workaround except to upgrade.
References
https://jira.xwiki.org/browse/XWIKI-20360
https://jira.xwiki.org/browse/XWIKI-20384
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
Attribution
This vulnerability has been reported by René de Sain @renniepak.
- Record
GHSA-h6f5-8jj5-cxhr- CVSS 3.1
- 9.9 Critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-269, CWE-270
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.xwiki.platform:xwiki-platform-annotation-uiMaven |
2.3-milestone-1 up to 13.10.11 | 13.10.11 |
org.xwiki.platform:xwiki-platform-annotation-uiMaven |
14.0-rc-1 up to 14.4.7 | 14.4.7 |
org.xwiki.platform:xwiki-platform-annotation-uiMaven |
14.5 up to 14.10 | 14.10 |
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-26475 is a critical vulnerability (CVSS 10.0) in Xwiki, published March 2, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 63.6%, the 99th percentile. Fixed in org.xwiki.platform:xwiki-platform-annotation-ui 13.10.11.
References
github.com/xwiki/xwiki-platform/security/advisories/GHSA-h6f5-8jj5-cxhr
github.com/xwiki/xwiki-platform/commit/d87d7bfd8db18c20d3264f98c6deefeae93b99f7
jira.xwiki.org/browse/XWIKI-20360
jira.xwiki.org/browse/XWIKI-20384
nvd.nist.gov/vuln/detail/CVE-2023-26475
github.com/advisories/GHSA-h6f5-8jj5-cxhr
github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26475.json
github.com/xwiki/xwiki-platform