org.xwiki.commons:xwiki-commons-xml Cross-site Scripting vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
XWiki Commons are technical libraries common to several other top level XWiki projects. The "restricted" mode of the HTML cleaner in XWiki, introduced in version 4.2-milestone-1, only escaped `<script>` and `<style>`-tags but neither attributes that can be used to inject scripts nor other dangerous HTML tags like `<iframe>`. As a consequence, any code relying on this "restricted" mode for security is vulnerable to JavaScript injection ("cross-site scripting"/XSS). When a privileged user with programming rights visits such a comment in XWiki, the malicious JavaScript code is executed in the context of the user session. This allows server-side code execution with programming rights, impacting the confidentiality, integrity and availability of the XWiki instance. This problem has been patched in XWiki 14.6 RC1 with the introduction of a filter with allowed HTML elements and attributes that is enabled in restricted mode. There are no known workarounds apart from upgrading to a version including the fix.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-commons | 4.2-milestone-1 to before 14.6-rc-1 | 14.6-rc-1 | Patch available | CNA |
| — | org.xwiki.commons:xwiki-commons-xml (Maven) | 4.2-milestone-1 to before 14.6-rc-1 | 14.6-rc-1 | Patch available | GHSA-m3jr-cvhj-f35j |
- xwiki-commons VendorXWiki Affected 4.2-milestone-1 to before 14.6-rc-1 Fixed in 14.6-rc-1 Patch available CNA
- org.xwiki.commons:xwiki-commons-xml (Maven) Vendor— Affected 4.2-milestone-1 to before 14.6-rc-1 Fixed in 14.6-rc-1 Patch available GHSA-m3jr-cvhj-f35j
Remediation
- Fix · CNA xwiki-commons (xwiki) Fixed in 14.6-rc-1
- Fix · GHSA-m3jr-cvhj-f35j org.xwiki.commons:xwiki-commons-xml (Maven) Fixed in 14.6-rc-1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-29201
- 2026-10-03 Alias added: GHSA-m3jr-cvhj-f35j
References
Exploit 4
Patch 2
More Xwiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2023-29201 · CVE Program
- CVE-2023-29201 · NVD
- FIRST EPSS
- GHSA-m3jr-cvhj-f35j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences