CVE-2024-52300: macro-pdfviewer is a PDF Viewer Macro for XWiki using Mozilla pdf.js
CVE-2024-52300 is a critical-severity flaw (CVSS 9.0) affecting pdf viewer macro. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 this priority
- Critical severity
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-52300?
pdf viewer macro: upgrade to 2.5.6. Exact commands for each OS are on this page.
Is CVE-2024-52300 being exploited?
CVE-2024-52300 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-52300 affect?
CVE-2024-52300 affects pdf viewer macro. Severity is critical (CVSS 9.0). 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 avail
How urgent is CVE-2024-52300?
Priority 41/100. Critical severity
Related CVEs
- CVE-2024-52299 HIGH 7.5 UPGRADE macro-pdfviewer is a PDF Viewer Macro for XWiki using Mozilla pdf.js
- CVE-2024-52298 HIGH 7.5 UPGRADE macro-pdfviewer is a PDF Viewer Macro for XWiki using Mozilla pdf.js