# CVE-2024-30263: The PDF Viewer macro can be used to view PDF attachments with restricted access

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2024-04-04T16:51:44.212Z
- Modified: 2026-06-17T07:26:37.940Z
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

macro-pdfviewer is a PDF Viewer Macro for XWiki using Mozilla pdf.js. Users with edit rights can access restricted PDF attachments using the PDF Viewer macro, just by passing the attachment URL as the value of the ``file`` parameter. Users with view rights can access restricted PDF attachments if they are shown on public pages where the PDF Viewer macro is called using the attachment URL instead of its reference. This vulnerability has been patched in version 2.5.1.

(As written by CVE List.)

## Affected

- xwikisas macro-pdfviewer: <= 2.5.0
- xwikisas macro_pdfviewer: up to 2.5.0

## References

- <https://github.com/xwikisas/macro-pdfviewer/security/advisories/GHSA-93qq-2h34-g29f>
- <https://github.com/xwikisas/macro-pdfviewer/issues/49>

## Sources

- CVE List: [CVE-2024-30263](https://www.cve.org/CVERecord?id=CVE-2024-30263), CVE Terms of Use, modified 2024-08-21
- NVD: [CVE-2024-30263](https://nvd.nist.gov/vuln/detail/CVE-2024-30263), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-30263 · Whole record: https://cve.day/CVE-2024-30263.json · Rebuilt by cve.day 2026-11-25T22:58:38.766Z
