Read the docs
TI-2024-34973 Aliases CVE-2024-52298

macro-pdfviewer's preview in WYSIWYG editor allows accessing any PDF document as the last author

Priority HIGH 72CWE-615Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00669 52nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed macro-pdfviewer (xwikisas): 2.5.6

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
XWikimacro-pdfviewer1.6.2 to before 2.5.62.5.6Patch availableCNA
  • macro-pdfviewer VendorXWiki Affected 1.6.2 to before 2.5.6 Fixed in 2.5.6 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:xwiki:pdf_viewer_macro:*:*:*:*:pro:*:*:*before 2.5.6VulnerableXWiki
  • cpe:2.3:a:xwiki:pdf_viewer_macro:*:*:*:*:pro:*:*:* Versions before 2.5.6 Vulnerable ·XWiki

Remediation

  • Fix · CNA macro-pdfviewer (xwikisas) Fixed in 2.5.6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-52298

References

  • TI-2024-34975 macro-pdfviewer has a XSS through the width parameter CVSS 3.1CRITICAL 9.1
  • TI-2024-34974 The PDF viewer macro allows accessing any attachment without access right checks CVSS 3.1HIGH 7.5

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences