SCA: security update for org.xwiki.commons:xwiki-commons-velocity (GHSA-cvx5-m8vg-vxgc)

high Tenable Self-Hosted Container Security Plugin ID 414122

Description

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

- APIs to evaluate content with Velocity is a package for APIs to evaluate content with Velocity. Starting
with version 2.3 and prior to 12.6.7, 12.10.3, and 13.0, the velocity scripts are not properly sandboxed
against using the Java File API to perform read or write operations on the filesystem. Writing an
attacking script in Velocity requires the Script rights in XWiki so not all users can use it, and it also
requires finding an XWiki API which returns a File. The problem has been patched in versions 12.6.7,
12.10.3, and 13.0. There is no easy workaround for fixing this vulnerability other than upgrading and
being careful when giving Script rights. (CVE-2022-24897)

See Also

https://github.com/advisories/GHSA-cvx5-m8vg-vxgc

Plugin Details

Severity: High

ID: 414122

Version: Revision 1.4

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

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:M/Au:S/C:P/I:P/A:P

CVSS Score Source: CVE-2022-24897

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:H/PR:L/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/28/2022

Vulnerability Publication Date: 4/28/2022

Reference Information

CVE: CVE-2022-24897