Cyber Resilience

CVE-2025-49583

Xwiki ≤ 15.10.16

Public PoC
Published
13 June 2025
Modified
17 June 2026
Patch / advisory
CVSS Score v4 5.1
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0023 14th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2025-49583 is a medium-severity Privilege Context Switching Error (CWE-270) vulnerability in Xwiki Xwiki. Its CVSS base score is 5.1 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Access Token Manipulation (T1134); ranked at the 14th percentile by exploit likelihood (below the median); 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-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

XWiki is a generic wiki platform. When a user without script right creates a document with an `XWiki.Notifications.Code.NotificationEmailRendererClass` object, and later an admin edits and saves that document, the email templates in this object will be used for notifications. No…

more

malicious code can be executed, though, as while these templates allow Velocity code, the existing generic analyzer already warns admins before editing Velocity code. The main impact would thus be to send spam, e.g., with phishing links to other users or to hide notifications about other attacks. Note that warnings before editing documents with dangerous properties have only been introduced in XWiki 15.9, before that version, this was a known issue and the advice was simply to be careful. This has been patched in XWiki 16.10.2, 16.4.7 and 15.10.16 by adding an analysis for the respective XClass properties.

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.
T1204 User Execution Execution
An adversary may rely upon specific actions by a user in order to gain execution.
T1204.001 Malicious Link Execution
An adversary may rely upon a user clicking a malicious link in order to gain execution.
T1204.002 Malicious File Execution
An adversary may rely upon a user opening a malicious file in order to gain execution.
T1548 Abuse Elevation Control Mechanism Privilege Escalation
Adversaries may circumvent mechanisms designed to control privilege elevation to gain higher-level permissions.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-49582Same product: Xwiki Xwiki
CVE-2025-49587Same product: Xwiki Xwiki
CVE-2025-49585Same product: Xwiki Xwiki
CVE-2023-26475Same product: Xwiki Xwiki
CVE-2025-49581Same product: Xwiki Xwiki
CVE-2023-29507Same product: Xwiki Xwiki
CVE-2024-46978Same product: Xwiki Xwiki
CVE-2023-34465Same product: Xwiki Xwiki
CVE-2024-43401Same product: Xwiki Xwiki
CVE-2025-32974Same product: Xwiki Xwiki

Affected Assets

xwiki
xwiki
≤ 15.10.16 · 16.0.0 — 16.4.7 · 16.5.0 — 16.10.2

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 800-53 r5) AI

AC-3 enforces access authorizations according to policy at every request, structurally preventing incorrect privilege elevation or retention across context switches.

AC-6 requires least-privilege assignments and privilege minimization, reducing the opportunity for erroneous privilege state during context transitions.

AC-24 mandates that access-control decisions be made and enforced correctly for each request, directly addressing flawed privilege context switches.

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.

finds

Security testing in development and acceptance validates that dangerous-operation warnings are sufficiently prominent.

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.

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