Cyber Resilience

CVE-2023-37912

Xwiki-Rendering ≤ 14.10.6

Public PoC
Published
25 October 2023
Modified
21 November 2024
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.012 67th percentile
Risk Priority 77 floored blend · peak EPSS

Summary

CVE-2023-37912 is a critical-severity Privilege Context Switching Error (CWE-270) vulnerability in Xwiki Xwiki-Rendering. Its CVSS base score is 9.9 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Access Token Manipulation (T1134); ranked in the top 33% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

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 Rendering, the component responsible for converting textual syntax in the XWiki platform, contains a context-handling flaw in its footnote macro. Affected packages are org.xwiki.platform:xwiki-core-rendering-macro-footnotes and org.xwiki.platform:xwiki-rendering-macro-footnotes prior to 14.10.6, and org.xwiki.platform:xwiki-rendering-macro-footnotes prior to 15.1-rc-1. The macro renders its content in a context that may differ from the page where it was defined, enabling privilege escalation when combined with the include macro.

An authenticated user with only basic edit rights can embed a footnote macro that includes attacker-controlled content, thereby obtaining programming rights. Successful exploitation yields remote code execution on the XWiki server, with full impact on the confidentiality, integrity, and availability of the installation. The vulnerability carries a CVSS 3.1 score of 9.9.

The GitHub Security Advisory and XWiki Jira entry state that the issue is resolved in the listed releases and that no workaround exists other than upgrading the footnote macro. The associated EPSS score has remained flat at 0.0989 since disclosure, indicating no material increase in observed exploitation interest.

EU & UK References

Vulnerability Data

XWiki Rendering is a generic Rendering system that converts textual input in a given syntax into another syntax. Prior to version 14.10.6 of `org.xwiki.platform:xwiki-core-rendering-macro-footnotes` and `org.xwiki.platform:xwiki-rendering-macro-footnotes` and prior to version 15.1-rc-1 of `org.xwiki.platform:xwiki-rendering-macro-footnotes`, the footnote macro executed its content in…

more

a potentially different context than the one in which it was defined. In particular in combination with the include macro, this allows privilege escalation from a simple user account in XWiki to programming rights and thus remote code execution, impacting the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.6 and 15.1-rc-1. There is no workaround apart from upgrading to a fixed version of the footnote macro.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1134 Access Token Manipulation Stealth
Adversaries may modify access tokens to operate under a different user or system security context to perform actions and bypass access controls.
T1134.001 Token Impersonation/Theft Stealth
Adversaries may duplicate then impersonate another user's existing token to escalate privileges and bypass access controls.
T1548 Abuse Elevation Control Mechanism Privilege Escalation
Adversaries may circumvent mechanisms designed to control privilege elevation to gain higher-level permissions.
T1548.001 Setuid and Setgid Privilege Escalation
An adversary may abuse configurations where an application has the setuid or setgid bits set in order to get code running in a different (and possibly more privileged) user’s context.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-66474Same product: Xwiki Xwiki-Rendering
CVE-2023-37908Same product: Xwiki Xwiki-Rendering
CVE-2025-49583Same vendor: Xwiki
CVE-2026-24128Same product: Xwiki Xwiki-Rendering
CVE-2023-26475Same vendor: Xwiki
CVE-2025-49581Same vendor: Xwiki
CVE-2024-51987Shared CWE-270
CVE-2024-11263Shared CWE-270
CVE-2024-8641Shared CWE-270
CVE-2025-46406Shared CWE-270

Affected Assets

xwiki
xwiki-rendering
15.0 · ≤ 14.10.6

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 2 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V13.2.2

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-05 mostly match
prevents

Enforcing least-privilege authorization policies and reviews directly prevents improper privilege changes across contexts.

PR.PS-06 mostly match
prevents

Integrating secure-development practices catches and eliminates context-switching privilege errors during design and coding.

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

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Privileged-access-rights control directly addresses improper privilege elevation during context switches.

prevents

Access-control policy defines privilege boundaries but does not guarantee correct switching logic.

prevents

Managing access rights includes privilege assignment but not runtime context-switch enforcement.

mitigates

Restricting privileged utilities reduces exposure to context-switch privilege errors.

prevents

Secure-SDLC practices can catch privilege-handling defects early but do not guarantee runtime correctness.

prevents

Secure-architecture principles encourage least-privilege context separation but leave implementation details open.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Ubuntu 22.04 (1 rule)
  • V-260470 Ubuntu 22.04 LTS, when booted, must require authentication upon booting into single-user and maintenance modes. prevents CWE-270

References