What’s Vulnerable › Vulnerabilities
CVE-2024-52299: The PDF viewer macro allows accessing any attachment without access right checks
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-13 · updated 2026-06-17
- Weakness: CWE-340
Description
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
- xwikisas macro-pdfviewer: before 2.5.6 — fixed in 2.5.6
How to fix
Upgrade to a fixed version: xwikisas macro-pdfviewer 2.5.6. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-52299 or the next vulnerability affects your stack