CVE-2023-40177Xwiki
High 8.8
Follow: this CVE · Xwiki · Xwiki We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 81
- Auth required
- Yes
- Published
- Aug 23, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any registered user can use the content field of their user profile page to execute arbitrary scripts with programming rights, thus effectively performing rights escalation. This issue is present since version 4.3M2 when AppWithinMinutes Application added support for the Content field, allowing any wiki page (including the user profile page) to use its content as an AWM Content field, which has a custom displayer that executes the content with the rights of the ``AppWithinMinutes.Content`` author, rather than the rights of the content author. The vulnerability has been fixed in XWiki 14.10.5 and 15.1RC1. The fix is in the content of the AppWithinMinutes.Content page that defines the custom displayer. By using the ``display`` script service to render the content we make sure that the proper author is used for access rights checks.
What to do
- Apply the vendor's security update for Xwiki.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-appwithinminutes-ui |
≥ 4.3-milestone-2 < 14.10.5 |
14.10.5 |
— |
Per OSV / GitHub Advisories (GHSA-5mf8-v43w-mfxp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki | ≥ 4.3.1 < 14.10.5 |
| xwiki | xwiki | 4.3 |
| xwiki | xwiki | 15.0 |
| xwiki | xwiki | 15.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Mitigation Patch Vendor Advisory
- jira.xwiki.org Issue Tracking Patch Vendor Advisory