CVE-2024-52299

Source
https://cve.org/CVERecord?id=CVE-2024-52299
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52299.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-52299
Aliases
  • GHSA-522m-m242-jr9p
Published
2024-11-13T15:29:07.107Z
Modified
2026-04-10T05:16:31.824185Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
The PDF viewer macro allows accessing any attachment without access right checks
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-340"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52299.json"
}
References

Affected packages

Git / github.com/xwikisas/macro-pdfviewer

Affected ranges

Type
GIT
Repo
https://github.com/xwikisas/macro-pdfviewer
Events

Affected versions

macro-pdfviewer-1.*
macro-pdfviewer-1.7
macro-pdfviewer-1.8
macro-pdfviewer-1.8.1
macro-pdfviewer-1.8.2
macro-pdfviewer-1.8.3
macro-pdfviewer-1.9
macro-pdfviewer-1.9.1
macro-pdfviewer-1.9.2
macro-pdfviewer-1.9.3
macro-pdfviewer-1.9.4
macro-pdfviewer-2.*
macro-pdfviewer-2.0
macro-pdfviewer-2.0.1
macro-pdfviewer-2.0.2
macro-pdfviewer-2.0.3
macro-pdfviewer-2.1
macro-pdfviewer-2.1.1
macro-pdfviewer-2.2
macro-pdfviewer-2.2-RC-1
macro-pdfviewer-2.2.1
macro-pdfviewer-2.3
macro-pdfviewer-2.3.1
macro-pdfviewer-2.3.2
macro-pdfviewer-2.3.3
macro-pdfviewer-2.4
macro-pdfviewer-2.5
macro-pdfviewer-2.5.1
macro-pdfviewer-2.5.2
macro-pdfviewer-2.5.3
macro-pdfviewer-2.5.4
macro-pdfviewer-2.5.5
xwiki-macro-pdfviewer-1.*
xwiki-macro-pdfviewer-1.6.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52299.json"