WaratekVRT Sign in

CVE-2024-37899 XWiki

Affected softwareXWiki
Severity9.0 Critical CVSS 3.1 2 scores
Fixed in14.10.21, 15.5.5, 15.10.6, 16.0.0
WeaknessCode injection (CWE-94)
Published20 Jun 2024
Updated17 Jun 2026

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. When an admin disables a user account, the user's profile is executed with the admin's rights. This allows a user to place malicious code in the user profile before getting an admin to disable the user account. To reproduce, as a user without script nor programming rights, edit the about section of your user profile and add {{groovy}}services.logging.getLogger("attacker").error("Hello from Groovy!"){{/groovy}}. As an admin, go to the user profile and click the "Disable this account" button. Then, reload the page. If the logs show attacker - Hello from Groovy! then the instance is vulnerable. This has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0. Users are advised to upgrade. There are no known workarounds for this vulnerability. ### Workarounds We're not aware of any workaround except upgrading. ### References * https://jira.xwiki.org/browse/XWIKI-21611 * https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a

CWE-266

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: total.
  • Indexed PoC none indexed
  • EPSS 0.69% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: xwiki/xwiki-platform f89c8f4.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a : a commit: the change itself

CVSS

9.0 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.0 CRITICAL CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H security-advisories@github.com Secondary published
CVSS 3.1 8.0 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.xwiki.platform:xwiki-platform-oldcore 13.4.7 14.10.21 unbounded
org.xwiki.platform:xwiki-platform-oldcore 13.10.3 14.10.21 unbounded
org.xwiki.platform:xwiki-platform-oldcore 15.0-rc-1 15.5.5 unbounded
org.xwiki.platform:xwiki-platform-oldcore 15.6-rc-1 15.10.6 unbounded
org.xwiki.platform:xwiki-platform-oldcore 16.0.0-rc-1 16.0.0 unbounded

Products and versions

2 products, 11 version entries
SourceVendorProductSchemeAffected versions
osv org.xwiki.platform xwiki-platform-oldcore generic ≥ 13.4.7 and < 14.10.21 · ≥ 13.10.3 and < 14.10.21 · ≥ 15.0 and < 15.5.5 · ≥ 15.6 and < 15.10.6 · ≥ 16.0.0 and < 16.0.0
nvd xwiki xwiki generic 13.4.7 · 13.5:rc1 · ≥ 13.10.3 and < 14.10.21 · ≥ 15.0 and < 15.5.5 · ≥ 15.6 and < 15.10.6 · 16.0.0:rc1

References

URLTags
https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a commit
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j584-j2vj-3f93 WEB
https://github.com/xwiki/xwiki-platform/commit/046c36519a2df392c922c16d0d38472b98c414d0 WEB
https://github.com/xwiki/xwiki-platform/commit/233b08b26580df4b7a595882dac65ed4e4a2419c WEB
https://github.com/xwiki/xwiki-platform/commit/2b55c29562ccd20f8f0f85075f0c95b4ee9cd9be WEB
https://github.com/xwiki/xwiki-platform/commit/f8409419c5d0ddefe1bee55e73629a54275fa735 WEB
https://github.com/xwiki/xwiki-platform PACKAGE
https://jira.xwiki.org/browse/XWIKI-21611 WEB

Timeline

Published2024-06-20By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.