# CVE-2024-42489: Pro Macros Remote Code Execution via Viewpdf and similar macros

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.06%, higher than 65% of CVEs (2026-12-01)
- Published: 2024-08-12T15:49:18.935Z
- Modified: 2026-06-17T07:49:32.990Z
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- xwikisas xwiki-pro-macros: >= 1.0, < 1.10.1; from 1.0 before 1.10.1
- xwiki pro_macros: from 1.0 before 1.10.1

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/xwikisas/xwiki-pro-macros/security/advisories/GHSA-cfq3-q227-7j65> (vendor-advisory)
- <https://github.com/xwikisas/xwiki-pro-macros/commit/199553c84901999481a20614f093af2d57970eba> (patch)
- <https://github.com/xwikisas/xwiki-pro-macros/blob/main/xwiki-pro-macros-ui/src/main/resources/Confluence/Macros/Viewpdf.xml#L265-L267> (broken-link)

## Sources

- CVE List: [CVE-2024-42489](https://www.cve.org/CVERecord?id=CVE-2024-42489), CVE Terms of Use, modified 2024-08-13
- NVD: [CVE-2024-42489](https://nvd.nist.gov/vuln/detail/CVE-2024-42489), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42489 · Whole record: https://cve.day/CVE-2024-42489.json · Rebuilt by cve.day 2026-11-25T22:58:44.222Z
