Security Resilience

CVE-2025-58049

Xwiki 14.4.2 – 16.4.8

Public PoC
Published
28 August 2025
Modified
26 September 2026
Patch / advisory
CVSS Score v3.1 5.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:N
EPSS Score 0.0041 36th percentile
Risk Priority 40 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-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

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

T1003 OS Credential Dumping Credential Access
Adversaries may attempt to dump credentials to obtain account login and credential material, normally in the form of a hash or a clear text password.
T1003.004 LSA Secrets Credential Access
Adversaries with SYSTEM access to a host may attempt to access Local Security Authority (LSA) secrets, which can contain a variety of different credential materials, such as credentials for service accounts.
T1016.002 Wi-Fi Discovery Discovery
Adversaries may search for information about Wi-Fi networks, such as network names and passwords, on compromised systems.
T1078 Valid Accounts Stealth
Adversaries may obtain and abuse credentials of existing accounts as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1078.002 Domain Accounts Stealth
Adversaries may obtain and abuse credentials of a domain account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1078.003 Local Accounts Stealth
Adversaries may obtain and abuse credentials of a local account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-50719Same product: Xwiki Xwiki
CVE-2024-46979Same product: Xwiki Xwiki
CVE-2023-29203Same product: Xwiki Xwiki
CVE-2025-54125Same product: Xwiki Xwiki
CVE-2025-54124Same product: Xwiki Xwiki
CVE-2024-45591Same product: Xwiki Xwiki
CVE-2023-35151Same product: Xwiki Xwiki
CVE-2023-48240Same product: Xwiki Xwiki
CVE-2025-49584Same product: Xwiki Xwiki
CVE-2024-31464Same product: Xwiki Xwiki

Affected Assets

xwiki
xwiki
14.4.2 — 16.4.8 · 16.5.0 — 16.10.7 · 17.0.0 — 17.3.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V14.2.8
  • V14.3.3
  • V11.4.2
  • V11.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.

PR.DS-01 mostly match
blocks

Protecting data-at-rest with cryptographic hashes directly prevents recoverable password storage.

PR.DS-10 mostly match
blocks

Directly addresses removal of confidential data from process memory and similar in-use contexts before exposure.

PR.PS-06 partial match
blocks

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.

removes

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.

finds

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.

blocks

Information-transfer rules can require sanitization of sensitive content before sharing.

blocks

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.

removes

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.

A.8.11 Data masking partial match
blocks

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

References