{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-52300","id":"CVE-2024-52300","title":"macro-pdfviewer has a XSS through the width parameter","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.","descriptionLong":"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.","published":"2024-11-13T15:24:59.125Z","updated":"2026-10-28T02:30:34.920327940Z","reserved":"2024-11-06T19:00:26.396Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["xwikisas macro-pdfviewer"],"affectedProducts":[{"vendor":"xwikisas","product":"macro-pdfviewer","defaultStatus":null,"versions":[{"version":"< 2.5.6","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-80","CWE-79"],"aliases":["GHSA-84wx-6vfp-5m6g"],"references":[{"url":"https://github.com/xwikisas/macro-pdfviewer/security/advisories/GHSA-84wx-6vfp-5m6g","tags":["x_refsource_CONFIRM","Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52300.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52300","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.0046,"epssPercentile":0.40793,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-52300","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52300","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-52300","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-52300","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}