# CVE-2024-52300

## Summary

- **CVE ID:** CVE-2024-52300
- **Severity:** CRITICAL
- **CVSS Score:** 9.1 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H)
- **CWE:** CWE-80
- **Published:** Nov 13, 2024
- **Last Modified:** Mar 13, 2026

## Description

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.

## Affected Products

- xwikisas — macro-pdfviewer (< 2.5.6)

## References

- [CNA](https://github.com/xwikisas/macro-pdfviewer/security/advisories/GHSA-84wx-6vfp-5m6g)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.43%
- **EPSS Percentile:** 36.6

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-10._