Security Resilience

CVE-2024-31981

Access Control in Xwiki 3.0.1 – 14.10.19

Public PoCAccess Control
Published
10 April 2024
Modified
21 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.014 74th percentile
Risk Priority 85 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-31981 is a critical-severity Missing Authorization (CWE-862) vulnerability in Xwiki. Its CVSS base score is 9.9 (Critical).

Operationally, ranked in the top 26% 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, a generic wiki platform, contains a remote code execution vulnerability in its PDF export template handling. The flaw affects all versions from 3.0.1 through 14.10.19, 15.5.3, and 15.9, and stems from missing authorization checks (CWE-862) that allow untrusted input to influence template processing during PDF generation.

An authenticated attacker with low privileges can exploit the issue over the network by supplying a malicious PDF export template. Successful exploitation yields full remote code execution with impacts across confidentiality, integrity, and availability, and the vulnerability carries a CVSS score of 9.9 due to its scope-changing effects.

The official XWiki security advisory and associated patches recommend immediate upgrade to 14.10.20, 15.5.4, or 15.10-rc-1. Where PDF templates are not in use, administrators may create the document XWiki.PDFClass, ensure it lacks a style attribute, and restrict editing rights as a temporary control; the linked GitHub commits and Jira issue XWIKI-21337 document the precise code changes applied.

EPSS scores for this CVE rose from lower values after disclosure to a peak of 0.3368 on 2025-12-11 before receding to the current 0.2414, indicating measurable post-publication exploitation interest.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

XWiki Platform is a generic wiki platform. Starting in version 3.0.1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, remote code execution is possible via PDF export templates. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10-rc-1. If…

more

PDF templates are not typically used on the instance, an administrator can create the document `XWiki.PDFClass` and block its edition, after making sure that it does not contain a `style` attribute. Otherwise, there are no known workarounds aside from upgrading.

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-31997Same 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
3.0.1 — 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