Read the docs
TI-2023-21050 Aliases CVE-2023-40177GHSA-5mf8-v43w-mfxp

XWiki Platform privilege escalation (PR) from account through AWM content fields

Priority HIGH 76CWE-95Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-95.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01058 64th percentileScored 2026-11-07
Fix Fixed xwiki-platform (xwiki): 14.10.5org.xwiki.platform:xwiki-platform-appwithinminutes-ui (Maven): 14.10.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
XWikixwiki-platform4.3-milestone-2 to before 14.10.514.10.5Patch availableCNA
—org.xwiki.platform:xwiki-platform-appwithinminutes-ui (Maven)4.3-milestone-2 to before 14.10.514.10.5Patch availableGHSA-5mf8-v43w-mfxp
  • xwiki-platform VendorXWiki Affected 4.3-milestone-2 to before 14.10.5 Fixed in 14.10.5 Patch available CNA
  • org.xwiki.platform:xwiki-platform-appwithinminutes-ui (Maven) Vendor— Affected 4.3-milestone-2 to before 14.10.5 Fixed in 14.10.5 Patch available GHSA-5mf8-v43w-mfxp

CPE configurations NVD · 4

CPEVersionsRoleVendor
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*4.3.1 to before 14.10.5VulnerableXWiki
cpe:2.3:a:xwiki:xwiki:4.3:milestone2:*:*:*:*:*:*4.3 milestone2VulnerableXWiki
cpe:2.3:a:xwiki:xwiki:15.0:-:*:*:*:*:*:*15.0VulnerableXWiki
cpe:2.3:a:xwiki:xwiki:15.0:rc1:*:*:*:*:*:*15.0 rc1VulnerableXWiki
  • cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions 4.3.1 to before 14.10.5 Vulnerable ·XWiki
  • cpe:2.3:a:xwiki:xwiki:4.3:milestone2:*:*:*:*:*:* Versions 4.3 milestone2 Vulnerable ·XWiki
  • cpe:2.3:a:xwiki:xwiki:15.0:-:*:*:*:*:*:* Versions 15.0 Vulnerable ·XWiki
  • cpe:2.3:a:xwiki:xwiki:15.0:rc1:*:*:*:*:*:* Versions 15.0 rc1 Vulnerable ·XWiki

Remediation

  • Fix · CNA xwiki-platform (xwiki) Fixed in 14.10.5
  • Fix · GHSA-5mf8-v43w-mfxp org.xwiki.platform:xwiki-platform-appwithinminutes-ui (Maven) Fixed in 14.10.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-40177
  2. 2026-10-03 Alias added: GHSA-5mf8-v43w-mfxp

References

  • TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
  • TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
  • TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
  • TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
  • TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
See all 247 →

Sources