The PDF Viewer macro can be used to view PDF attachments with restricted access
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-30263
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 18:35 UTC · Revision 1
Source evidence
The PDF Viewer macro can be used to view PDF attachments with restricted access
core-osv · Original sourcePublished 4 Apr 2024, 16:51 UTC
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.
osv:CVE-2024-30263
Complete source record
{
"id": "b69d42655cab22acdf66fe6af29967cd705a12487593783324d65a9ac8ada7fa",
"url": "https://osv.dev/vulnerability/CVE-2024-30263",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "The PDF Viewer macro can be used to view PDF attachments with restricted access",
"summary": "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.",
"evidence": "osv:CVE-2024-30263",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-30263",
"aliases": [
"CVE-2024-30263",
"GHSA-93qq-2h34-g29f"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/xwikisas/macro-pdfviewer",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "a12540226f5eea3fa9c6dbc5b4585d1453b40b97"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.5.1"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"macro-pdfviewer-2.5",
"macro-pdfviewer-2.4",
"macro-pdfviewer-2.3.3",
"macro-pdfviewer-2.3.2",
"macro-pdfviewer-2.3.1",
"macro-pdfviewer-2.3",
"macro-pdfviewer-2.2.1",
"macro-pdfviewer-2.2",
"macro-pdfviewer-2.1.1",
"macro-pdfviewer-2.2-RC-1",
"macro-pdfviewer-2.1",
"macro-pdfviewer-2.0.3",
"macro-pdfviewer-2.0.2",
"macro-pdfviewer-2.0.1",
"macro-pdfviewer-2.0",
"macro-pdfviewer-1.9.4",
"macro-pdfviewer-1.9.3",
"macro-pdfviewer-1.9.2",
"macro-pdfviewer-1.9.1",
"macro-pdfviewer-1.9",
"macro-pdfviewer-1.8.3",
"macro-pdfviewer-1.8.2",
"macro-pdfviewer-1.8.1",
"macro-pdfviewer-1.8",
"macro-pdfviewer-1.7",
"xwiki-macro-pdfviewer-1.6.2",
"xwiki-macro-pdfviewer-1.6.1",
"xwiki-macro-pdfviewer-1.6",
"xwiki-macro-pdfviewer-1.5",
"xwiki-macro-pdfviewer-parent-1.4.1",
"xwiki-macro-pdfviewer-parent-1.4",
"xwiki-macro-pdfviewer-parent-1.3",
"xwiki-macro-pdfviewer-parent-1.2",
"xwiki-macro-pdfviewer-parent-1.1",
"xwiki-macro-pdfviewer-parent-1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-30263.json"
}
}
],
"modified": "2026-10-28T02:30:22.250355513Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/30xxx/CVE-2024-30263.json",
"https://github.com/xwikisas/macro-pdfviewer/security/advisories/GHSA-93qq-2h34-g29f",
"https://nvd.nist.gov/vuln/detail/CVE-2024-30263",
"https://github.com/xwikisas/macro-pdfviewer/issues/49"
],
"provider_metadata": {
"cwe_ids": [
"CWE-200"
],
"cna_assigner": "GitHub_M",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"last_affected": "2.5.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/30xxx/CVE-2024-30263.json"
}
},
"related_cves": [
{
"value": "CVE-2024-30263",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 488608,
"published_at": "2024-04-04T16:51:44.212+00:00"
}