GHSA-5mf8-v43w-mfxp · Severity: critical · Ecosystem: maven — XWiki Platform privilege escalation (PR) from account through AWM content fields
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.
Conclusion & alert: CVE-2023-40177 is rated Moderate Risk (63.8/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 2.11%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 46.52% | 2.11% | -44.41% |
| 2 | 2025-11-18 | 2.11% | 46.52% | +44.41% |
| 3 | 2025-04-15 | — | 2.11% | — |
Full EPSS history (8 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.9 | 3.1 | CRITICAL |
|
3.1 | 6.0 | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
GHSA-5mf8-v43w-mfxp · Severity: critical · Ecosystem: maven — XWiki Platform privilege escalation (PR) from account through AWM content fields
| URL | Tags |
|---|---|
| https://github.com/xwiki/xwiki-platform/commit/dfb1cde173e363ca5c12eb3654869f9719820262 | Patch |
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-5mf8-v43w-mfxp | Mitigation Patch Vendor Advisory |
| https://jira.xwiki.org/browse/XWIKI-7369 | Issue Tracking Patch Vendor Advisory |