Security Resilience

CVE-2024-31997

Access Control in Xwiki ≤ 14.10.19

Public PoCHigh EPSSAccess Control
Published
10 April 2024
Modified
09 January 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.74 99.5th percentile
Risk Priority 94 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-31997 is a critical-severity Missing Authorization (CWE-862) vulnerability in Xwiki. Its CVSS base score is 9.9 (Critical).

Operationally, ranked in the top 0.5% 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 AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — 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 is affected by a remote code execution vulnerability in versions prior to 14.10.19, 15.5.4, and 15.10-rc-1. The root cause is that parameters supplied to UI extensions are unconditionally interpreted as Velocity code and evaluated with full programming rights, regardless of the caller's privileges. This stems from insufficient authorization checks when processing UI extension definitions, as indicated by the associated CWE-862.

Any authenticated user with edit rights on a document, such as their own profile page, can register a malicious UI extension and thereby execute arbitrary code on the server. Successful exploitation grants complete control over the XWiki instance, allowing attackers to compromise the confidentiality, integrity, and availability of all wiki content and connected systems. The issue carries a CVSS 3.1 score of 9.9 reflecting its network-accessible, low-complexity nature and critical impact.

The vulnerability was addressed in the releases XWiki 14.10.19, 15.5.4, and 15.9-RC1 through changes that prevent unrestricted Velocity execution of UI extension parameters. No workarounds are documented. Details are available in the GitHub security advisory GHSA-c2gg-4gq4-jv5j, the linked commits, and the Jira issue XWIKI-21335.

The EPSS score reached a peak of 0.6025 with a current value of 0.5368, indicating notable post-disclosure exploitation interest.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

XWiki Platform is a generic wiki platform. Prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, parameters of UI extensions are always interpreted as Velocity code and executed with programming rights. Any user with edit right on any document like the user's…

more

own profile can create UI extensions. This allows remote code execution and thereby impacts the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.19, 15.5.4 and 15.9-RC1. No known workarounds are available.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-55879Same product: Xwiki Xwiki
CVE-2023-37910Same product: Xwiki Xwiki
CVE-2024-31983Same product: Xwiki Xwiki
CVE-2024-37898Same product: Xwiki Xwiki
CVE-2024-55876Same product: Xwiki Xwiki
CVE-2025-46557Same product: Xwiki Xwiki
CVE-2024-31981Same product: Xwiki Xwiki
CVE-2024-31987Same product: Xwiki Xwiki
CVE-2025-46554Same product: Xwiki Xwiki
CVE-2025-32973Same product: Xwiki Xwiki

Affected Assets

xwiki
xwiki
≤ 14.10.19 · 15.0 — 15.5.4 · 15.6 — 15.9

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

AC-3 directly requires enforcement of authorization decisions on every access request, structurally eliminating missing authorization checks.

AC-24 mandates that access control decisions are applied to each request, preventing bypass of authorization logic.

AC-25 requires a tamperproof, always-invoked reference monitor that ensures authorization checks cannot be omitted.

AC-6 reduces the set of actions reachable without proper authorization, limiting blast radius of missing checks.

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.

blocks

A.8.3's purpose is to ensure only authorized access, and its guidance directly mandates the authorization checks that CWE-862 describes as missing, so a well-implemented access restriction control fully blocks exploitation of the missing authorization weakness.

finds

By requiring competent outsiders to verify that every function enforces the need-to-know principle, the control lowers the likelihood that missing authorization checks persist undetected.

blocks

Requiring evidence of minimum security capabilities and acceptance testing ensures that missing or bypassed authorization checks are detected before the delivered software is accepted.

finds

Mandating read-only access or proxy execution by an authorized administrator ensures every requested operation is explicitly authorized before it occurs.

blocks

Mandatory authorization checks before allowing modifications ensure that every sensitive action on source code is preceded by an explicit access-control decision.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-862, a class-level weakness, and none of its children carries one either.

References