Live threats

All CVEs / Xwiki

CVE-2023-40177Xwiki

High 8.8

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
Weakness (CWE)
CWE-95, CWE-94
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Xwiki.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
xwikixwiki≥ 4.3.1 < 14.10.5
xwikixwiki4.3
xwikixwiki15.0
xwikixwiki15.0

Official sources

References

Links published by the sources. Open them with care.