Security 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.0028 21th percentile
Risk Priority 35 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-2025-49583 is a medium-severity Privilege Context Switching Error (CWE-270) vulnerability in Xwiki. Its CVSS base score is 5.1 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Browser Session Hijacking (T1185); ranked at the 21th 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

MITRE ATT&CK v20.0

T1185 Browser Session Hijacking Collection
Adversaries may take advantage of security vulnerabilities and inherent functionality in browser software to change content, modify user-behaviors, and intercept information as part of various browser session hijacking techniques.
T1548.002 Bypass User Account Control Privilege Escalation
Adversaries may bypass UAC mechanisms to elevate process privileges on system.
T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1621 Multi-Factor Authentication Request Generation Credential Access
Adversaries may attempt to bypass multi-factor authentication (MFA) mechanisms and gain access to accounts by generating MFA requests sent to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-26475Same product: Xwiki Xwiki
CVE-2025-49585Same product: Xwiki Xwiki
CVE-2025-49587Same product: Xwiki Xwiki
CVE-2025-49582Same product: Xwiki Xwiki
CVE-2025-49581Same product: Xwiki Xwiki
CVE-2023-26470Same product: Xwiki Xwiki
CVE-2023-35158Same product: Xwiki Xwiki
CVE-2023-26478Same product: Xwiki Xwiki
CVE-2023-29511Same product: Xwiki Xwiki
CVE-2026-40105Same 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)

Our mappings, made for this CVE.

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)

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.AA-05 mostly match
blocks

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

PR.PS-06 mostly match
blocks

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

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

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

prevents

Training developers about privilege context switching can reduce instances of this implementation defect, but the weakness is a subtle code-level issue that even aware developers miss; the effect is real but a minority one, consistent with A.6.3's rung on other developer-introduced weaknesses.

prevents

Secure-coding guidelines can prevent common privilege-switch bugs yet are not exhaustive.

finds

A.8.29's source reach (code review) and runtime reach (penetration testing) can find some privilege context switching errors — the logic flaws are visible in source when reviewers know the privilege model, and some instances manifest as observable privilege escalation under dynamic testing. But CWE-270 is a research-gap weakness whose flaws are subtle architectural/logic errors often not observable from outside and not covered by standard static-analysis checkers, so a meaningful share of instances is missed.

blocks

Information-access-restriction rules help limit privileges but do not cover dynamic switching errors.

prevents

A.8.30 carries its preventive effect through the secure design, coding and testing practices its contract requires of the supplier (8.25-8.29), so a faithful implementation reduces ordinary software design weaknesses like insufficient UI warnings; the ceiling is `partial` because the clause depends on those other controls and on the supplier actually implementing the specified UI warning requirements.

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 our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.

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

References