CVE-2024-52299Published Nov 13, 2024 · Nov 13Updated Oct 28
The PDF viewer macro allows accessing any attachment without access right checks
xwikisas macro-pdfviewer
High7.5
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| xwikisas macro-pdfviewer |
| No fix yet |
Original 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.
From the CVE record · GitHub_M