CVE-2024-52299Xwiki Pdf Viewer Macro
High 7.5 No auth needed
Follow: this CVE · Xwiki · Xwiki Pdf Viewer Macro We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 62
- Auth required
- No
- Published
- Nov 13, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-340
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Pdf Viewer Macro.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | pdf_viewer_macro | < 2.5.6 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory