High severity · published Aug 12, 2024
CVE-2024-42489
Pro Macros Remote Code Execution via Viewpdf and similar macros
8.8
CVSS
1.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 64% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
XW
xwiki-pro-macros · xwikisas
>= 1.0, < 1.10.1 · source: vendor, CISA
PM
Pro Macros · Xwiki
1.0 before 1.10.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-42489
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-42489
Broken Link
https://github.com/xwikisas/xwiki-pro-macros/blob/main/xwiki-pro-macros-ui/src/main/resources/Confluence/Macros/Viewpdf.xml#L265-L267
Patch
https://github.com/xwikisas/xwiki-pro-macros/commit/199553c84901999481a20614f093af2d57970eba
Vendor Advisory
https://github.com/xwikisas/xwiki-pro-macros/security/advisories/GHSA-cfq3-q227-7j65
More from xwiki-pro-macros
10.0
CVE-2025-55730
XWiki Remote Macros vulnerable to remote code execution using the confluence paste code macro
10.0
CVE-2025-55729
XWiki Remote Macros vulnerable to remote code execution using the ConfluenceLayoutSection macro
9.9
CVE-2026-44179
XWiki Pro Macros: excerpt-include title and content injection executes code
9.8
CVE-2025-55728
XWiki Remote Macros vulnerable to remote code execution using the panel macro
9.8
CVE-2025-55727
XWiki Remote Macros vulnerable to remote code execution from width parameter in the column macro
