Arbitrary filesystem write access from Velocity
CVE-2022-24897

Check todayFull system takeover over the network by a logged-in user.
7.5HIGH

Key Information:

Vendor

Xwiki

Vendor
CVE Published:
2 May 2022

Key facts

CVE-2022-24897 is a high severity (CVSS 7.5) vulnerability in xwiki-commons. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.7%, the estimated probability of exploitation in the next 30 days. Fixed in xwiki-commons 2.3, 12.6.7, 12.7-rc-1, 12.10.3.

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit code yet
  • No: No attacks seen yet
  • No: Not on CISA's exploited list

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version

Upgrade to one of these versions or later:

xwiki-commons2.3, 12.6.712.7-rc-1, 12.10.3
Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach xwiki-commons. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • Its CVSS severity is high (7.5).

What is CVE-2022-24897?

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.

Affected Version(s)

xwiki-commons >= 2.3, < 12.6.7 < 2.3, 12.6.7

xwiki-commons 12.7-rc-1, < 12.10.3 < 12.7-rc-1, 12.10.3

References

SQL Injection Vulnerability in XWiki Platform by XWiki

CVE-2025-32429
XwikiXwiki-platform👾9.3CRITICAL

Remote Code Execution Vulnerability in XWiki Platform by XWiki SAS

CVE-2025-24893
XwikiXwiki-platform👾9.8CRITICAL
View more Xwiki vulnerabilities...

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.