CVE-2024-42489
published critical CVSS 3.1 · 10.0Pro Macros Remote Code Execution via Viewpdf and similar macros
Package status and fixes
Description
Pro Macros provides XWiki rendering macros. Missing escaping in the Viewpdf macro allows any user with view right on the `CKEditor.HTMLConverter` page or edit or comment right on any page to perform remote code execution. Other macros like Viewppt are vulnerable to the same kind of attack. This vulnerability is fixed in 1.10.1.
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
- 10.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xwikisas | xwiki-pro-macros | >= 1.0, < 1.10.1 (affected) | GitHub_M · cna |
| xwikisas | xwiki-pro-macros | 1.0 to < 1.10.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-74 CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
References
3- https://github.com/xwikisas/xwiki-pro-macros/blob/main/xwiki-pro-macros-ui/src/main/resources/Confluence/Macros/Viewpdf.xml#L265-L267
- https://github.com/xwikisas/xwiki-pro-macros/commit/199553c84901999481a20614f093af2d57970eba
- https://github.com/xwikisas/xwiki-pro-macros/security/advisories/GHSA-cfq3-q227-7j65
Provider assertions
2GitHub_M · cna
Pro Macros Remote Code Execution via Viewpdf and similar macros
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ce5a44aac974a02f102fbaa104269b361c0e1443de43795b17e8f34b99797c1a
- Ingested
- 23 Sep 2026, 08:26:47 UTC
- Source record
- Official CVE record