Cross-Site Scripting Vulnerability in XWiki's PDF Viewer Macro
CVE-2024-52300
Key facts
CVE-2024-52300 is a critical severity (CVSS 9) vulnerability in Xwiki PDF Viewer Macro. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.1%, the estimated probability of exploitation in the next 30 days.
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit code yet
- No: No attacks seen yet
- No: Not on CISA's exploited list
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory ↗2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach PDF Viewer Macro. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- Its CVSS severity is critical (9).
What is CVE-2024-52300?
The macro-pdfviewer, which serves as a PDF viewer macro for XWiki leveraging Mozilla pdf.js, contains a vulnerability stemming from improper escaping of the width parameter. This flaw enables cross-site scripting (XSS) attacks; any user with the ability to edit a page can inject malicious code. When an administrator views a page containing such malicious code, the integrity, confidentiality, and availability of the entire XWiki installation can be compromised. The issue is addressed in version 2.5.6 of the product.