CVE-2025-58049
highpriority · track · 30EPSS 0.004 · 30 %ileDEEUUSEPSS · scored 2026-10-27
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 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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.8–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (15)
Products and version ranges known to be affected.
- Maven org.xwiki.platform:xwiki-platform-export-pdf-api14.4.2 → 16.4.8osvUSpkg:maven/org.xwiki.platform/xwiki-platform-export-pdf-api
- Maven org.xwiki.platform:xwiki-platform-export-pdf-api16.5.0-rc-1 → 16.10.7osvUSpkg:maven/org.xwiki.platform/xwiki-platform-export-pdf-api
- Maven org.xwiki.platform:xwiki-platform-export-pdf-api17.0.0-rc-1 → 17.4.0-rc-1osvUSpkg:maven/org.xwiki.platform/xwiki-platform-export-pdf-api
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-1919xwiki (PDF Export): Schwachstelle ermöglicht Offenlegung von InformationenDeutsch2025-08-27csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in xwiki ausnutzen, um Informationen offenzulegen.
- GHSA-9m7c-m33f-3429XWiki PDF export jobs store sensitive cookies unencrypted in job statuses2025-08-28ghsa · osvUS
### Impact The PDF export uses a background job that runs on the server-side. Jobs like this have a status that is serialized in the permanent directory when the job is finished. The job status includes the job request. The PDF export job request is initialized, before the job starts, with some context information that is needed to replicate the HTTP request (used to trigger the export) in the background thread used to run the export job. This context information includes the cookies from the HTTP request that triggered the export. As a result, the user cookies (including the encrypted username and password) are stored in the permanent directory after the PDF export is finished. As the encryption key is stored in the same data directory (by default it is generated in ``data/configuration.properties``), this means that this job status contains the equivalent of the plain text password of the user who requested the PDF export. 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. ### Patches This vulnerability has been patched in XWiki 16.4.8, 16.10.7 and 17.4.0RC1. ### Workarounds We're not aware of any workarounds except for upgrading.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://github.com/xwiki/xwiki-platform/commit/60982ad0057b1701ed8297f28cad35d170686539cnnvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9m7c-m33f-3429cnnvd
- https://jira.xwiki.org/browse/XWIKI-23151cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-58049cnnvd
- https://www.xwiki.org/xwiki/bin/view/Main/WebHomePatchcnnvd
- https://github.com/xwiki/xwiki-platform/commit/60982ad0057b1701ed8297f28cad35d170686539enisa_euvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9m7c-m33f-3429enisa_euvd
- https://jira.xwiki.org/browse/XWIKI-23151enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan