BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2023-41046 in Xwiki

Medium 6.3

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. It is possible in XWiki to execute Velocity code without having script right by creating an XClass with a property of type "TextArea" and content type "VelocityCode" or "VelocityWiki". For the former, the syntax ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.16.3
EPSS0.8%
EPSS percentile55th
FixSee advisory

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component.

Affected products and versions

VendorProductAffected versions
Xwiki Xwiki ≥ 7.2, < 14.10.10 ≥ 15.0, < 15.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. It is possible in XWiki to execute Velocity code without having script right by creating an XClass with a property of type "TextArea" and content type "VelocityCode" or "VelocityWiki". For the former, the syntax of the document needs to be set the `xwiki/1.0` (this syntax doesn't need to be installed). In both cases, when adding the property to an object, the Velocity code is executed regardless of the rights of the author of the property (edit right is still required, though). In both cases, the code is executed with the correct context author so no privileged APIs can be accessed. However, Velocity still grants access to otherwise inaccessible data and APIs that could allow further privilege escalation. At least for "VelocityCode", this behavior is most likely very old but only since XWiki 7.2, script right is a separate right, before that version all users were allowed to execute Velocity and thus this was expected and not a security issue. This has been patched in XWiki 14.10.10 and 15.4 RC1. Users are advised to upgrade. There are no known workarounds.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-41046
BreachSpider IDBS-2023-GLOBAL-343983-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Published2023-09-01
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-862: Missing Authorization

Software does not check whether an authenticated actor has permission for the requested operation.

Related attack patterns (CAPEC)

CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-862

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in XWiki Platform allows unauthorized execution of Velocity code through the creation of an XClass with a specific property type and content type, potentially leading to remote code execution.

An attacker can exploit this vulnerability by creating an XClass with a property of type 'TextArea' and content type 'VelocityCode' or 'VelocityWiki'. The document syntax needs to be set to 'xwiki/1.0', which does not require script rights. This allows the execution of arbitrary Velocity code without proper authorization.

Questions

What is CVE-2023-41046?

A vulnerability in XWiki Platform allows unauthorized execution of Velocity code through the creation of an XClass with a specific property type and content type, potentially leading to remote code execution.

What is the CVSS score for CVE-2023-41046?

CVE-2023-41046 has CVSS 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L. EPSS: 0.8%.

Is CVE-2023-41046 actively exploited?

No confirmed active exploitation of CVE-2023-41046 as of 2026-09-25.

How do I remediate CVE-2023-41046?

Priority: HIGH. Advisory: https://jira.xwiki.org/browse/XWIKI-20847 PSIRT: [email protected]

What systems are affected by CVE-2023-41046?

CVE-2023-41046 affects Xwiki Xwiki.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Xwiki","product":"Xwiki","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.