macro-pdfviewer has a XSS through the width parameter
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-80.
Summary
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 it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA macro-pdfviewer (xwikisas) Fixed in 2.5.6
Timeline
- 2026-10-02 Threatist record created from CVE-2024-52300
References
More XWiki Pdf Viewer Macro vulnerabilities
- TI-2024-34974 The PDF viewer macro allows accessing any attachment without access right checks CVSS 3.1HIGH 7.5
- TI-2024-34973 macro-pdfviewer's preview in WYSIWYG editor allows accessing any PDF document as the last author CVSS 3.1HIGH 7.5
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences