CVE-2024-52299: XWiki PDF Viewer Macro

High severity, CVSS 7.5. EPSS: 0.5% chance of exploitation in the next 30 days.

macro-pdfviewer is a PDF Viewer Macro for XWiki using Mozilla pdf.js. Any user with view right on XWiki.PDFViewerService can access any attachment stored in the wiki as the "key" that is passed to prevent this is computed incorrectly, calling skip on the digest stream doesn't update the digest. This is fixed in 2.5.6.

Affected products

  • XWiki PDF Viewer Macro: before 2.5.6 (fixed in 2.5.6)

Published 2024-11-13. Last modified 2026-06-17.