PT-2024-8494

CVE-2024-52300

·

Published

2024-11-13

·

Updated

2024-11-18

Description by

CVSS 3.1
9.0
Critical
MetricsAV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions macro-pdfviewer versions prior to 2.5.6
Description The issue is related to the macro-pdfviewer PDF viewer macro for XWiki, which uses Mozilla pdf.js. The width parameter of the PDF viewer macro is not properly escaped, allowing for cross-site scripting (XSS) attacks for any user who can edit a page. This can impact the confidentiality, integrity, and availability of the whole XWiki installation when an admin visits the page with the malicious code.
Recommendations For versions prior to 2.5.6, update to version 2.5.6 to mitigate the security vulnerability. As a temporary workaround, consider restricting access to the width parameter in the PDF viewer macro until a patch is available. Avoid using the width parameter in the affected macro until the issue is resolved.
Found an issue in the description? Have something to add? Feel free to write us 👾