CVE-2025-58049: XWiki PDF export jobs store sensitive cookies unencrypted in job statuses

Published Aug 28, 2025
·
Updated

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.

Other sources

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.

MITRE

Affected Software

6 affected componentsFixes available
maven/org.xwiki.platform:xwiki-platform-export-pdf-api>=17.0.0-rc-1<17.4.0-rc-1
17.4.0-rc-1
maven/org.xwiki.platform:xwiki-platform-export-pdf-api>=16.5.0-rc-1<16.10.7
16.10.7
maven/org.xwiki.platform:xwiki-platform-export-pdf-api>=14.4.2<16.4.8
16.4.8
XWiki xwiki>=14.4.2<16.4.8
XWiki xwiki>=16.5.0<16.10.7
XWiki xwiki>=17.0.0<=17.3.0

Event History

Aug 28, 2025
Advisory Published
via GitHub·03:10 PM
Data Sourced
via GitHub·03:10 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·05:43 PM
Data Sourced
via MITRE·05:43 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-58049?

CVE-2025-58049 is categorized as a moderate severity vulnerability due to potential exposure of sensitive information.

2

How do I fix CVE-2025-58049?

To fix CVE-2025-58049, update to the latest versions: 17.4.0-rc-1, 16.10.7, or 16.4.8 of the affected package.

3

What software is affected by CVE-2025-58049?

CVE-2025-58049 affects the org.xwiki.platform:xwiki-platform-export-pdf-api package across several versions.

4

Can CVE-2025-58049 lead to data exposure?

Yes, CVE-2025-58049 can potentially lead to unauthorized exposure of job request statuses and associated data.

5

What is the nature of the vulnerability in CVE-2025-58049?

CVE-2025-58049 is related to improper handling of job request statuses in a server-side PDF export background job.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203