Skip to content

CVE-2024-52300 macro-pdfviewer has a XSS through the width parameter

CriticalCVSS 9.0 EPSS 0.46%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
xwiki pdf viewer macro < 2.5.6 2.5.6 Fixed
xwikisas macro pdfviewer < 2.5.6 2.5.6 Fixed
xwikisas macro-pdfviewer = < 2.5.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
xwikisas macro-pdfviewer = < 2.5.6 No fix listed
xwikisas macro pdfviewer < 2.5.6 2.5.6
xwiki pdf viewer macro < 2.5.6 2.5.6

References