XSS in Xwiki Pdf Viewer Macro
CVE-2024-52300
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 40.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Xwiki Pdf Viewer Macro
- Xwikisas Macro-Pdfviewer — versions < 2.5.6
Weakness classification (CWE)
References
- https://github.com/xwikisas/macro-pdfviewer/security/advisories/GHSA-84wx-6vfp-5m6g (Third Party Advisory)