CVE-2024-52300

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:xwiki:pdf_viewer_macro:*:*:*:*:pro:*:*:*

History

18 Nov 2024, 17:29

Type Values Removed Values Added
Summary
  • (es) macro-pdfviewer es una macro de visor de PDF para XWiki que utiliza Mozilla pdf.js. El parámetro width de la macro del visor de PDF no se escapa correctamente, lo que permite XSS para cualquier usuario que pueda editar una página. XSS puede afectar la confidencialidad, integridad y disponibilidad de toda la instalación de XWiki cuando un administrador visita la página con el código malicioso. Esto se solucionó en 2.5.6.
References () https://github.com/xwikisas/macro-pdfviewer/security/advisories/GHSA-84wx-6vfp-5m6g - () https://github.com/xwikisas/macro-pdfviewer/security/advisories/GHSA-84wx-6vfp-5m6g - Third Party Advisory
CPE cpe:2.3:a:xwiki:pdf_viewer_macro:*:*:*:*:pro:*:*:*
First Time Xwiki pdf Viewer Macro
Xwiki
CWE CWE-79

13 Nov 2024, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-11-13 16:15

Updated : 2024-11-18 17:29


NVD link : CVE-2024-52300

Mitre link : CVE-2024-52300

CVE.ORG link : CVE-2024-52300


JSON object : View

Products Affected

xwiki

  • pdf_viewer_macro
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-80

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)