CVE-2022-41928 in Xwiki
XWiki Platform vulnerable to Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in AttachmentSelector.xml. The issue can also be reproduced by inserting the dangerous payload in the `height` or `alt` macro properties. This has been patched in versions 13.10.7, 14.4.2, and 14.5. Th...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Xwiki | Xwiki | 5.0 14.4.3 14.4.4 > 5.0, < 13.10.7 ≥ 14.0.0, < 14.4.2 |
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
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
XWiki Platform vulnerable to Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in AttachmentSelector.xml. The issue can also be reproduced by inserting the dangerous payload in the `height` or `alt` macro properties. This has been patched in versions 13.10.7, 14.4.2, and 14.5. The issue can be fixed on a running wiki by updating `XWiki.AttachmentSelector` with the versions below: - 14.5-rc-1+: https://github.com/xwiki/xwiki-platform/commit/eb15147adf94bddb92626f862c1710d45bcd64a7#diff-e1513599ab698991f6cbba55d38f3f464432ced8d137a668b1f7618c7e747e23 - 14.4.2+: https://github.com/xwiki/xwiki-platform/commit/c02f8eb1f3c953d124f2c097021536f8bc00fa8d#diff-e1513599ab698991f6cbba55d38f3f464432ced8d137a668b1f7618c7e747e23 - 13.10.7+: https://github.com/xwiki/xwiki-platform/commit/efd0df0468d46149ba68b66660b93f31b6318515#diff-e1513599ab698991f6cbba55d38f3f464432ced8d137a668b1f7618c7e747e23
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-41928 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-333860-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-11-23 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-95: CWE-95
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-95
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
XWiki Platform is vulnerable to an Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in the AttachmentSelector.xml file, which can be exploited by inserting malicious payloads into the `height` or `alt` macro properties.
An attacker can exploit this vulnerability by injecting malicious code into the `height` or `alt` macro properties in the XWiki Platform, leading to arbitrary code execution with the privileges of the XWiki server.
Questions
What is CVE-2022-41928?
XWiki Platform is vulnerable to an Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in the AttachmentSelector.xml file, which can be exploited by inserting malicious payloads into the `height` or `alt` macro properties.
What is the CVSS score for CVE-2022-41928?
CVE-2022-41928 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.7%.
Is CVE-2022-41928 actively exploited?
No confirmed active exploitation of CVE-2022-41928 as of 2026-05-30.
How do I remediate CVE-2022-41928?
Priority: IMMEDIATE. Advisory: https://jira.xwiki.org/browse/XWIKI-19800
What systems are affected by CVE-2022-41928?
CVE-2022-41928 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"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.