Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2024-52299

The PDF viewer macro allows accessing any attachment without access right checks

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

xwikisas macro-pdfviewer

  • >= 1.6.2, < 2.5.6affected

References