CVE-2024-52299
published high CVSS 3.1 · 7.5The PDF viewer macro allows accessing any attachment without access right checks
Package status and fixes
Description
macro-pdfviewer is a PDF Viewer Macro for XWiki using Mozilla pdf.js. Any user with view right on XWiki.PDFViewerService can access any attachment stored in the wiki as the "key" that is passed to prevent this is computed incorrectly, calling skip on the digest stream doesn't update the digest. This is fixed in 2.5.6.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xwikisas | macro-pdfviewer | >= 1.6.2, < 2.5.6 (affected) | GitHub_M · cna |
| xwikisas | macro_pdfviewer | 0 through 1.6.2 (affected · custom)0 to < 2.5.6 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-340 CWE-340: Generation of Predictable Numbers or Identifiers
References
1Provider assertions
2GitHub_M · cna
The PDF viewer macro allows accessing any attachment without access right checks
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8322303fb212ecaae4d2f6448de11862f874bb937829cec788b0c4620d0310a0
- Ingested
- 23 Sep 2026, 08:30:39 UTC
- Source record
- Official CVE record