CVE-2024-52300
published critical CVSS 3.1 · 9.1macro-pdfviewer has a XSS through the width parameter
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xwikisas | macro-pdfviewer | < 2.5.6 (affected) | GitHub_M · cna |
| xwikisas | macro_pdfviewer | 0 to < 2.5.6 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-80 CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
References
1Provider assertions
2GitHub_M · cna
macro-pdfviewer has a XSS through the width parameter
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- eacef68c7024caa303d1f16854c4ccb95061e49ec2ee503b5bf3109f369acdd8
- Ingested
- 23 Sep 2026, 08:30:39 UTC
- Source record
- Official CVE record