CVE-2024-52298
highpriority · track · 30EPSS 0.007 · 52 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (4)
External citations — patches, advisories, analysis.
- https://github.com/xwikisas/macro-pdfviewer/security/advisories/GHSA-hph4-7j37-7c97cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2024-52298cnnvd
- https://github.com/xwikisas/macro-pdfviewer/security/advisories/GHSA-hph4-7j37-7c97enisa_euvd
- https://github.com/xwikisas/macro-pdfviewer/security/advisories/GHSA-hph4-7j37-7c97ExploitMitigationVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan