CVE-2023-41046
CVE-2023-41046 — Velocity execution without script rights in Xwiki platform
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…
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
6.3
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.3 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-862
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1211Exploitation for Defensive Evasion
- T1542.002Pre-OS Boot: Component Firmware
- T1556Modify Authentication Process
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /1.0.
References
4 on the record
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-m5m2-h6h9-p2c8
x_refsource_CONFIRM
- github.com/xwiki/xwiki-platform/commit/edc52579eeaab1b4514785c134044671a1ecd839
x_refsource_MISC
- jira.xwiki.org/browse/XWIKI-20847
x_refsource_MISC
- jira.xwiki.org/browse/XWIKI-20848
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-24893 Remote code execution as guest via SolrSearchMacros request in xwikiCVSS 9.8 · CISA KEV
- CVE-2022-0543 Debian-specific Redis Server Lua Sandbox Escape VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2026-84869 ScreenConnect Client: Guest-to-Host File Execution via File-Transfer ActionsCVSS 9.9 · CISA KEV
- CVE-2024-57726 SimpleHelp Missing Authorization VulnerabilityCVSS 9.9 · CISA KEV
- CVE-2025-6205 Missing authorization vulnerability affecting DELMIA Apriso from Release 2020 through Release 2025CVSS 9.1 · CISA KEV
- CVE-2023-52163 Digiever DS-2105 Pro Missing Authorization VulnerabilityCVSS 8.8 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.