CVE-2025-58049
Xwiki 14.4.2 – 16.4.8
Raw vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:NCVSS 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-58049 is a medium-severity Improper Removal of Sensitive Information Before Storage or Transfer (CWE-212) vulnerability in Xwiki. Its CVSS base score is 5.8 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Account Discovery (T1087); ranked at the 36th 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 IA-5 (Authenticator Management) and MP-6 (Media Sanitization) — see the control section below for these in your framework.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-26129
Vulnerability Data
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In versions from 14.4.2 to before 16.4.8, 16.5.0-rc-1 to before 16.10.7, and 17.0.0-rc-1 to before 17.4.0-rc-1, the PDF export jobs store sensitive cookies…
more
unencrypted in job statuses. XWiki shouldn't store passwords in plain text, and it shouldn't be possible to gain access to plain text passwords by gaining access to, e.g., a backup of the data directory. This vulnerability has been patched in XWiki 16.4.8, 16.10.7, and 17.4.0-rc-1.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 5 hardening rules · 3 OS baselines
V14.2.8V14.3.3V11.4.2V11.4.4
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
IA-5 requires proper management of authenticators including storage of passwords only in non-recoverable (hashed) form, directly stopping the weakness from existing.
Requires sanitization of media before disposal, release, or reuse, directly stopping sensitive information from remaining in resources made available to unauthorized parties.
Mandates removal of specified PII elements from datasets before further use or sharing, addressing a subset of the improper-removal cases.
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.
Protecting data-at-rest with cryptographic hashes directly prevents recoverable password storage.
Directly addresses removal of confidential data from process memory and similar in-use contexts before exposure.
Secure SDLC practices include requirements for non-recoverable password storage.
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.
A.5.17's password management system section mandates that passwords be stored in protected form (h) and that password encryption and hashing be performed according to approved cryptographic techniques, which directly addresses CWE-257's recoverable-format storage; applied to a system that previously stored passwords reversibly, the implementation requires re-hashing with approved one-way techniques, so the weakness stops being present with no nameable remainder.
A.8.29's SOURCE reach (code review, static analysis) directly inspects the password-handling code where the reversible-encryption/compression/cleartext choice is made, and its RUNTIME reach (penetration testing) sees the format if the store is dumped; the remainder is third-party components outside the developer's source and custom reversible schemes that evade static rules.
Information-transfer rules can require sanitization of sensitive content before sharing.
A.5.15 mandates implementation of access control rules that restrict who can reach the password store, blocking exploitation by unauthorized users; however, the recoverable-format weakness itself is unchanged, and authorized insiders (e.g. administrators with legitimate access to the credential store) can still recover and reuse passwords — the threat the CWE description explicitly names — so the control masks the vulnerability for a portion of the threat surface but does not address the underlying flaw.
A.5.36 mandates a review-and-correct process for non-compliance with policies, not a technical mechanism that alters how passwords are stored; it does not itself encrypt or hash an already-recoverable password store.
Data masking removes sensitive data before storage or transfer, so the weakness (improper removal) is not present to be exploited; the control prevents or removes the flaw rather than leaving it in place and blocking its exploitation.
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.
Oracle Linux 8 (2 rules, 1 more partial)
- V-248579 OL 8 must restrict access to the kernel message buffer. blocks CWE-212
- V-248580 OL 8 must prevent kernel profiling by unprivileged users. blocks CWE-212
- V-248551 A sticky bit must be set on all OL 8 public directories to prevent unauthorized and unintended information transferred via shared system resources. blocks CWE-212
Oracle Linux 9 (1 partial rule)
- V-271745 OL 9 must restrict access to the kernel message buffer. blocks CWE-212
RHEL 8 (1 partial rule)
- V-230269 RHEL 8 must restrict access to the kernel message buffer. blocks CWE-212