Improper Neutralization of Invalid Characters in Data Attribute Names in org.xwiki.commons:xwiki-commons-xml
Key facts
- Attack vector
- Network
- Privileges required
- None
- 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 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
`org.xwiki.commons:xwiki-commons-xml` is an XML library used by the open-source wiki platform XWiki. The HTML sanitizer, introduced in version 14.6-rc-1, allows the injection of arbitrary HTML code and thus cross-site scripting via invalid data attributes. This vulnerability does not affect restricted cleaning in HTMLCleaner as there attributes are cleaned and thus characters like `/` and `>` are removed in all attribute names. This problem has been patched in XWiki 14.10.4 and 15.0 RC1 by making sure that data attributes only contain allowed characters. 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 | 14.6-rc-1 to before 14.10.4 | 14.10.4 | Patch available | CNA |
| — | org.xwiki.commons:xwiki-commons-xml (Maven) | 14.6-rc-1 to before 14.10.4 | 14.10.4 | Patch available | GHSA-pv7v-ph6g-3gxv |
- xwiki-commons VendorXWiki Affected 14.6-rc-1 to before 14.10.4 Fixed in 14.10.4 Patch available CNA
- org.xwiki.commons:xwiki-commons-xml (Maven) Vendor— Affected 14.6-rc-1 to before 14.10.4 Fixed in 14.10.4 Patch available GHSA-pv7v-ph6g-3gxv
Remediation
- Fix · CNA xwiki-commons (xwiki) Fixed in 14.10.4
- Fix · GHSA-pv7v-ph6g-3gxv org.xwiki.commons:xwiki-commons-xml (Maven) Fixed in 14.10.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-31126
- 2026-10-03 Alias added: GHSA-pv7v-ph6g-3gxv
References
Advisory 3
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-31126 · CVE Program
- CVE-2023-31126 · NVD
- FIRST EPSS
- GHSA-pv7v-ph6g-3gxv · 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