patchminder
Proof of concept · CISA assessment CVE-2024-52298

Vulnerabilityin xwikisas macro_pdfviewer.

Published 13 Nov 2024 · Updated 13 Nov 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
High 7.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.7% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 2.5.6 or later
In plain words

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.

What to do now
  • Upgrade macro-pdfviewer to 2.5.6 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
macro-pdfviewer
1.6.2 to before 2.5.6
2.5.6
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 6 Nov 2024
    CVE ID reserved by GitHub_M.
  2. 13 Nov 2024
    Published in the CVE List.
  3. 13 Nov 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other macro_pdfviewer vulnerabilities

References
Cite this page

Patchminder. CVE-2024-52298: Vulnerability in xwikisas macro_pdfviewer. https://patchminder.com/cve/cve-2024-52298/ (accessed 5 December 2026).