Read the docs
TI-2024-34975 Aliases CVE-2024-52300

macro-pdfviewer has a XSS through the width parameter

Priority HIGH 74CWE-80Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-80.

Summary

macro-pdfviewer is a PDF Viewer Macro for XWiki using Mozilla pdf.js. The width parameter of the PDF viewer macro isn't properly escaped, allowing XSS for any user who can edit a page. XSS can impact the confidentiality, integrity and availability of the whole XWiki installation when an admin visits the page with the malicious code. This is fixed in 2.5.6.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0046 40th percentileScored 2026-11-07
Fix Fixed macro-pdfviewer (xwikisas): 2.5.6

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

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-pdfviewerbefore 2.5.62.5.6Patch availableCNA
  • macro-pdfviewer VendorXWiki Affected 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-52300

References

  • TI-2024-34974 The PDF viewer macro allows accessing any attachment without access right checks CVSS 3.1HIGH 7.5
  • 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