CVE-2023-31126

CRITICAL

org.xwiki.commons:xwiki-commons-xml - XSS

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2023-31126. PoCs published by shoucheng3.

AI-analyzed exploit summary This repository contains source code and documentation for XWiki Commons, specifically the blame module. It does not include an exploit PoC but rather the vulnerable code itself, which is related to CVE-2023-31126.

Description

`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.

Exploits (2)

nomisec WRITEUP
by shoucheng3 · poc
https://github.com/shoucheng3/xwiki__xwiki-commons_CVE-2023-31126_14-10-3

This repository contains source code and documentation for XWiki Commons, specifically the blame module. It does not include an exploit PoC but rather the vulnerable code itself, which is related to CVE-2023-31126.

Classification
Writeup 90%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: XWiki Commons (blame module)
No auth needed
Prerequisites: Access to vulnerable XWiki Commons instance
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WRITEUP
by shoucheng3 · poc
https://github.com/shoucheng3/cov-int

This repository contains source code for XWiki Commons, specifically the blame module, but does not include any exploit PoC or offensive techniques. It appears to be a legitimate codebase for the XWiki project.

Classification
Writeup 90%
Attack Type
Other
Complexity
Complex
Reliability
Theoretical
Target: XWiki Commons (version not specified)
No auth needed
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v3 9.0
EPSS 0.2162
EPSS Percentile 95.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-86 CWE-79
Status published
Products (2)
org.xwiki.commons/xwiki-commons-xml 14.6-rc-1 - 14.10.4Maven
xwiki/xwiki 14.6 - 14.10.4
Published May 09, 2023
Tracked Since Feb 18, 2026