SCA: security update for org.xwiki.commons:xwiki-commons-velocity (GHSA-hf43-47q4-fhq5)

critical Tenable Self-Hosted Container Security Plugin ID 415657

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- XWiki Platform is a generic wiki platform. Starting in version 3.0.1 and prior to versions 4.10.19,
15.5.4, and 15.10-rc-1, the HTML escaping of escaping tool that is used in XWiki doesn't escape `{`,
which, when used in certain places, allows XWiki syntax injection and thereby remote code execution. The
vulnerability has been fixed in XWiki 14.10.19, 15.5.5, and 15.9 RC1. Apart from upgrading, there is no
generic workaround. However, replacing `$escapetool.html` by `$escapetool.xml` in XWiki documents fixes
the vulnerability. In a standard XWiki installation, the maintainers are only aware of the document
`Panels.PanelLayoutUpdate` that exposes this vulnerability, patching this document is thus a workaround.
Any extension could expose this vulnerability and might thus require patching, too. (CVE-2024-31996)

See Also

https://github.com/advisories/GHSA-hf43-47q4-fhq5

Plugin Details

Severity: Critical

ID: 415657

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.49

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2024-31996

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/10/2024

Vulnerability Publication Date: 4/10/2024

Reference Information

CVE: CVE-2024-31996