Cyber Resilience

CVE-2024-42489

Xwiki Pro Macros 1.0 – 1.10.1

Published
12 August 2024
Modified
16 September 2024
Patch / advisory
CVSS Score v3.1 10.0
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.011 62th percentile
Risk Priority 93 floored blend · peak EPSS

Summary

CVE-2024-42489 is a critical-severity Injection (CWE-74) vulnerability in Xwiki Pro Macros. Its CVSS base score is 10.0 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 38% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-42489 is a remote code execution vulnerability in the Pro Macros extension for XWiki, which supplies Confluence-compatible rendering macros. The root cause is missing output escaping in the Viewpdf macro (and similarly in Viewppt and related macros), specifically within the handling of user-supplied content passed to the CKEditor.HTMLConverter page. The flaw is tracked as CWE-74 and carries a CVSS 3.1 score of 10.0.

Any unauthenticated or low-privileged user who can view the CKEditor.HTMLConverter page, or who holds edit or comment rights on any page, can supply crafted input that results in arbitrary code execution on the server. The attack requires no user interaction and can be performed over the network.

The vulnerability is fixed in Pro Macros version 1.10.1. The project security advisory and the associated commit on GitHub document the addition of proper escaping at the affected template locations in Viewpdf.xml and related files.

The EPSS score reached 0.4540 at disclosure and has remained at that level without further increase.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

vulnerable to the same kind of attack. This vulnerability is fixed in 1.10.1.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1221 Template Injection Stealth
Adversaries may create or modify references in user document templates to conceal malicious code or force authentication attempts.
T1659 Content Injection Initial Access
Adversaries may gain access and continuously communicate with victims by injecting malicious content into systems through online network traffic.
T1674 Input Injection Execution
Adversaries may simulate keystrokes on a victim’s computer by various means to perform any type of action on behalf of the user, such as launching the command interpreter using keyboard shortcuts, typing an inline script to be executed,…
T1059 Command and Scripting Interpreter Execution
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.
T1059.001 PowerShell Execution
Adversaries may abuse PowerShell commands and scripts for execution.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-29512Same vendor: Xwiki
CVE-2023-29510Same vendor: Xwiki
CVE-2023-29516Same vendor: Xwiki
CVE-2023-36469Same vendor: Xwiki
CVE-2023-29526Same vendor: Xwiki
CVE-2023-29518Same vendor: Xwiki
CVE-2023-29521Same vendor: Xwiki
CVE-2023-29524Same vendor: Xwiki
CVE-2023-29527Same vendor: Xwiki
CVE-2023-29519Same vendor: Xwiki

Affected Assets

xwiki
pro macros
1.0 — 1.10.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.2.1
  • V1.2.3
  • V1.2.5
  • V1.2.8

Mitigating Controls (NIST 800-53 r5) AI

SI-10 directly requires validation of information inputs to reject malformed or special-element content before it reaches downstream parsers.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require input validation and output encoding that prevent injection flaws.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development catches injection vulnerabilities before release.

A.8.15 Logging partial match
finds

Logging supports detection of injection attempts but does not prevent the weakness.

finds

Monitoring activities can identify active injection attacks after they occur.

prevents

Secure development life cycle mandates input validation and output encoding that directly prevent injection flaws.

prevents

Application security requirements explicitly call for controls against injection attacks in software design.

prevents

Secure architecture principles reduce injection surfaces but do not prescribe specific neutralization techniques.

References