CVE-2022-24897

HIGH

XWiki 2.3-12.6.6 - Authenticated Path Traversal via Velocity Script File API

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2022-24897. PoCs published by shoucheng3.

AI-analyzed exploit summary This repository contains source code and documentation for XWiki Commons, specifically the blame module, but does not include an exploit PoC for CVE-2022-24897. The files are legitimate project files without offensive techniques.

Description

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.

Exploits (1)

nomisec WRITEUP
by shoucheng3 · poc
https://github.com/shoucheng3/xwiki__xwiki-commons_CVE-2022-24897_12-6-6

This repository contains source code and documentation for XWiki Commons, specifically the blame module, but does not include an exploit PoC for CVE-2022-24897. The files are legitimate project files without offensive techniques.

Classification
Writeup 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: XWiki Commons (version not specified in provided files)
No auth needed
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Patch, Third Party Advisory x_refsource_misc
https://github.com/xwiki/xwiki-commons/pull/127
Exploit, Vendor Advisory x_refsource_misc
https://jira.xwiki.org/browse/XWIKI-5168

Scores

CVSS v3 7.5
EPSS 0.0032
EPSS Percentile 56.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-22
Status published
Products (2)
org.xwiki.commons/xwiki-commons-velocity 2.3.0 - 12.6.7Maven
xwiki/xwiki 2.3 - 12.6.7
Published May 02, 2022
Tracked Since Feb 18, 2026