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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-80"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52300.json"
}{
"cpe": "cpe:2.3:a:xwiki:pdf_viewer_macro:*:*:*:*:pro:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.5.6"
}
],
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
]
}