Read the docs
TI-2024-34974 Aliases CVE-2024-52299

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

Priority HIGH 72CWE-340Published · 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. 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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00523 44th percentileScored 2026-11-07
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-52299

References

  • TI-2024-34975 macro-pdfviewer has a XSS through the width parameter CVSS 3.1CRITICAL 9.1
  • TI-2024-34973 macro-pdfviewer's preview in WYSIWYG editor allows accessing any PDF document as the last author CVSS 3.1HIGH 7.5

Sources

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