CVE-2025-49583
Xwiki ≤ 15.10.16
Raw vector
CVSS: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:XCVSS 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
- 🇪🇺 ENISA EUVD: EUVD-2025-18298
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
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 2 hardening rules · 2 OS baselines
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.
Enforcing least-privilege authorization policies and reviews directly prevents improper privilege changes across contexts.
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.
Privileged-access-rights control directly addresses improper privilege elevation during context switches.
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.
Secure-coding guidelines can prevent common privilege-switch bugs yet are not exhaustive.
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.
Information-access-restriction rules help limit privileges but do not cover dynamic switching errors.
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