cvedb.io
CVE-2024-52298
HIGH · CVSS 7.5
EPSS exploitation probability: 0%
Published 2024-11-13T16:15:19.713 · Last modified 2026-06-17T08:06:57.893

Summary

macro-pdfviewer is a PDF Viewer Macro for XWiki using Mozilla pdf.js. The PDF Viewer macro allows an attacker to view any attachment using the "Delegate my view right" feature as long as the attacker can view a page whose last author has access to the attachment. For this, the attacker only needs to provide the reference to a PDF file to the macro. To obtain the reference of the desired attachment, the attacker can access the Page Index, Attachments tab. Even if the UI shows N/A, the user can inspect the page and check the HTTP request that fetches the live data entries. The attachment URL is available in the returned JSON for all attachments, including protected ones and allows getting the necessary values. This vulnerability is fixed in version 2.5.6.

Affected products

xwiki — pdf_viewer_macro

Does this affect you?

Add your gear to cvedb and we'll alert you only when xwiki ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.