Skip to content
OpenAdvisories
Critical · 9.1 CVE-2024-52300 EUVD-2024-45838

macro-pdfviewer has a XSS through the width parameter

Published Nov 13, 2024 · Updated Nov 13, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
xwikisas macro-pdfviewer < 2.5.6 —

References