BreachSpiderVerified, not vibes

CVE-2024-37899 in Xwiki

High 8.0

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. T...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.0
EPSS2.1%
EPSS percentile82th
FixSee advisory

Remotely exploitable over the network, low complexity, low privileges required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Xwiki Xwiki 16.0.0 ≥ 13.4.7, ≤ 13.5 ≥ 13.10.3, ≤ 14.10.21 ≥ 15.0, < 15.5.5 ≥ 15.6, < 15.10.6

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-37899
BreachSpider IDBS-2024-GLOBAL-197597-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Published2024-06-20
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-94: Code Injection

Attacker injects arbitrary code that is executed by the application process.

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94

CAPEC-77 Manipulating User-Controlled Variables via CWE-94

CAPEC-242 Code Injection via CWE-94

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in XWiki Platform allows a user to execute malicious code with administrative privileges by placing it in their user profile before the admin disables their account.

An attacker with basic user access can edit their user profile to include malicious code. When an admin disables this user's account, the malicious code is executed with the admin's rights.

Questions

What is CVE-2024-37899?

A vulnerability in XWiki Platform allows a user to execute malicious code with administrative privileges by placing it in their user profile before the admin disables their account.

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

CVE-2024-37899 has CVSS 8.0 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H. EPSS: 2.1%.

Is CVE-2024-37899 actively exploited?

No confirmed active exploitation of CVE-2024-37899 as of 2026-09-25.

How do I remediate CVE-2024-37899?

Priority: HIGH. Advisory: https://jira.xwiki.org/browse/XWIKI-21611 PSIRT: [email protected]

What systems are affected by CVE-2024-37899?

CVE-2024-37899 affects Xwiki Xwiki.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Xwiki","product":"Xwiki","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.