Skip to main content
Public proof of conceptFix available

CVE-2024-37899

A public proof of concept exists; no exploitation attested.

  • Published2024-06-20
  • Fixed in16.0.0 · 15.10.6 · 15.5.5 · 14.10.21
  • WeaknessCWE-94

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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

Timeline

dates in UTC
  1. 2024-06-2023:15CVE publishedNVD

Versions per branch

CISA-ADP · OSV · NVD
Xwiki
BranchAffectedFixed in
16.0≥ 16.0.0-rc-1,, < 16.0.016.0.0
16.0≥ 16.0.0-rc-1, < 16.0.016.0.0
15.x≥ 15.6, < 15.10.615.10.6
15.x≥ 15.6-rc-1,, < 15.10.615.10.6
15.x≥ 15.6-rc-1, < 15.10.615.10.6
15.x≥ 15.0, < 15.5.515.5.5
15.x≥ 15.0-rc-1, < 15.5.515.5.5
14.10≥ 13.10.3, < 14.10.2114.10.21
14.10≥ 13.4.7, < 14.10.2114.10.21
13.4= 13.4.7no fix published
13.5= 13.5no fix published
16.0= 16.0.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • xwiki-platform
    Affected
    • = >= 13.4.7, <= 13.5no fix stated
    • = >= 13.10.3, < 14.10.21no fix stated
    • = >= 15.0-rc-1, < 15.5.5no fix stated
    • = >= 15.6-rc-1, < 15.10.6no fix stated
    • = >= 16.0.0-rc-1, < 16.0.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-06-20

Fix

  1. Update Xwiki to 16.0.0 · 15.10.6 · 15.5.5 · 14.10.21

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2024-06-27
  • CNACVSS 3.19known since 2026-10-23
  • NVDCVSS 3.18read 2026-10-23
  • CNAweakness (CWE)CWE-94known since 2026-10-23
  • NVDweakness (CWE)CWE-94read 2026-10-23
  • FIRST EPSSEPSS score2.1 %2026-11-25
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryCritical2024-06-20

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Published
2024-06-20
Last modified
2026-06-17
NVD status
Analyzed
GitHub advisory
GHSA-j584-j2vj-3f93

Frequently asked questions

What is CVE-2024-37899?

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

Is CVE-2024-37899 actively exploited?

A proof-of-concept exploit exists for CVE-2024-37899, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-37899?

CVE-2024-37899 has a CVSS v3 base score of 8 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record