Cross-Site Scripting Vulnerability in XWiki's PDF Viewer Macro
CVE-2024-52300

Check todayFull system takeover over the network by a logged-in user.
9CRITICAL

Key Information:

Vendor

Xwiki

Vendor
CVE Published:
13 November 2024

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.

References

SQL Injection Vulnerability in XWiki Platform by XWiki

CVE-2025-32429
XwikiXwiki-platform👾9.3CRITICAL

Remote Code Execution Vulnerability in XWiki Platform by XWiki SAS

CVE-2025-24893
XwikiXwiki-platform👾9.8CRITICAL
View more Xwiki vulnerabilities...

CVSS V3.1

Score:
9
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

.