NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2025-58049 — xwiki-platform-export-pdf…

MEDIUMFix: xwiki/xwiki-platform@60982ad

CVE-2025-58049 is a medium-severity (CVSS 5.8) CWE-212 vulnerability in org.xwiki.platform:xwiki-platform-export-pdf-api. A fix is available for org.xwiki.platform:xwiki-platform-export-pdf-api — see the affected versions and patch details below.

XWiki PDF export jobs store sensitive cookies unencrypted in job statuses

Also known asGHSA-9m7c-m33f-3429
Published
Updated
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Nov 12, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2025-58049.

EPSS Exploitation Probability

via FIRST.org ↗
0.4%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs33th percentile — riskier than 33% of all scored CVEsHighest risk
0.00%0.29%0.59%0.88%0.1%0.4%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

3 pkgs affected
☕org.xwiki.platform:xwiki-platform-export-pdf-api☕org.xwiki.platform:xwiki-platform-export-pdf-api☕org.xwiki.platform:xwiki-platform-export-pdf-api

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.xwiki.platform:xwiki-platform-export-pdf-api≥ 14.4.2&&< 16.4.816.4.8org.xwiki.platform:xwiki-platform-export-pdf-api:16.4.8
☕Mavenorg.xwiki.platform:xwiki-platform-export-pdf-api≥ 16.5.0-rc-1&&< 16.10.716.10.7org.xwiki.platform:xwiki-platform-export-pdf-api:16.10.7
☕Mavenorg.xwiki.platform:xwiki-platform-export-pdf-api≥ 17.0.0-rc-1&&< 17.4.0-rc-117.4.0-rc-1org.xwiki.platform:xwiki-platform-export-pdf-api:17.4.0-rc-1

Affected Products

1 product · 3 configurations
Application
xwikixwiki
≥ 17.0.0 && ≤ 17.3.0
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.xwiki.platform:xwiki-platform-export-pdf-api, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.xwiki.platform:xwiki-platform-export-pdf-api to 16.4.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-58049 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

### 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 userna
O3 Security · Impact-Aware SCA

Is CVE-2025-58049 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2025-58049: xwiki-platform-export — Fixed in 16.4.8