Security Resilience

CVE-2024-55877

RCE in Xwiki 9.7 – 15.10.11

Public PoCRCE
Published
12 December 2024
Modified
30 April 2025
Patch / advisory
CVSS Score v3.1 9.9
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.016 76th percentile
Risk Priority 92 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-55877 is a critical-severity Static Code Injection (CWE-96) vulnerability in Xwiki. Its CVSS base score is 9.9 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 24% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

XWiki Platform, a generic wiki platform, contains a remote code execution vulnerability affecting all versions from 9.7-rc-1 through 15.10.10, 16.4.0, and 16.4.x prior to the listed fixes. The flaw stems from insufficient restrictions on the XWiki.WikiMacroClass, allowing any authenticated user to register and execute arbitrary macros on any page, which directly enables code injection as indicated by the associated CWEs.

Any user holding a standard account can exploit the issue over the network without user interaction to achieve full remote code execution. Successful exploitation grants complete control over the confidentiality, integrity, and availability of the entire XWiki installation due to the macro execution context running with elevated privileges.

Public advisories and the accompanying patches state that the vulnerability is resolved in XWiki 15.10.11, 16.4.1, and 16.5.0. The project also notes that administrators can manually back-port the change to the page XWiki.XWikiSyntaxMacrosList as a temporary workaround, with the fix commit and Jira issue XWIKI-22030 providing the technical details.

EPSS scores for this CVE rose from lower values to a peak of 0.6411 on 2025-12-11 before receding to the current 0.3339, indicating a period of increased exploitation interest following disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

XWiki Platform is a generic wiki platform. Starting in version 9.7-rc-1 and prior to versions 15.10.11, 16.4.1, and 16.5.0, any user with an account can perform arbitrary remote code execution by adding instances of `XWiki.WikiMacroClass` to any page. This compromises…

more

the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been fixed in XWiki 15.10.11, 16.4.1 and 16.5.0. It is possible to manually apply the patch to the page `XWiki.XWikiSyntaxMacrosList` as a workaround.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1505 Server Software Component Persistence
Adversaries may abuse legitimate extensible development features of servers to establish persistent access to systems.
T1559.003 XPC Services Execution
Adversaries can provide malicious content to an XPC service daemon for local code execution.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-37900Same product: Xwiki Xwiki
CVE-2024-55662Same product: Xwiki Xwiki
CVE-2023-46243Same product: Xwiki Xwiki
CVE-2023-37914Same product: Xwiki Xwiki
CVE-2024-37899Same product: Xwiki Xwiki
CVE-2025-53836Same product: Xwiki Xwiki
CVE-2023-29210Same product: Xwiki Xwiki
CVE-2023-29214Same product: Xwiki Xwiki
CVE-2023-29509Same product: Xwiki Xwiki
CVE-2023-29211Same product: Xwiki Xwiki

Affected Assets

xwiki
xwiki
16.5.0 · 9.7 — 15.10.11 · 16.0.0 — 16.4.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.3.1
  • V1.3.2

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover missing neutralization of directives in saved code artifacts.

Input validation directly stops unneutralized directives from being inserted into static code resources.

Least privilege limits the damage an injected code fragment can perform once executed.

Requiring documented secure development standards and tools enforces use of safe code-generation APIs and escaping.

Engineering principles include secure input handling and neutralization requirements that structurally avoid static injection.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require input neutralization to block static code injection into templates, configs, or libraries.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

A.8.29's programme of code review, static analysis, dynamic testing and penetration testing is the complete pre-production discovery set for code injection: eval/dynamic-execution sinks are visible to SAST, code review catches them, and penetration testing reaches the externally exploitable instances, with no nameable remainder.

finds

A.5.26 is an incident response control that acts after an incident is detected through other means; it has no mechanism (static analysis, dynamic testing, scanning) for discovering static code injection in deployed code, and post-incident root-cause analysis is reactive to an already-detected incident, not a discovery programme for latent weaknesses.

prevents

Training developers about input neutralization and the dangers of allowing user input to flow into executable resources reduces instances of static code injection, but developers are fallible and the strongest control for this implementation defect is security testing (A.8.29) or secure coding practice (A.8.28), consistent with the A.6.3 -> CWE-598 and A.8.28 -> CWE-79 anchors.

removes

A.8.19 manages installation, change control, and supported-version maintenance; it does not repair first-party code containing unneutralized directives, so existing CWE-96 flaws remain present.

prevents

Secure coding explicitly requires proper neutralization of directives in templates, libraries and configuration files.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software implementation weaknesses like static code injection the way those practices do, at `partial`; the clause has a declared ceiling of `partial` on this verb.

References