9.6
CRITICAL CVSS 3.1
CVE-2023-31126
XWiki Common XML Cross-Site Scripting (XSS) Vulnerability
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.

INFO

Published Date :

May 9, 2023, 1:15 p.m.

Last Modified :

Jan. 28, 2025, 6:15 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2023-31126 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Xwiki xwiki
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL [email protected]
CVSS 3.1 CRITICAL [email protected]
Public PoC/Exploit Available at Github

CVE-2023-31126 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-31126 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

XWiki Commons CVE-2023-31126 v14.10.3 for Coverity analysis

Java CSS JavaScript AspectJ AMPL

Updated: 1 week ago
0 stars 0 fork 0 watcher
Born at : Aug. 20, 2025, 5:20 p.m. This repo has been linked 1 different CVEs too.

None

Groovy Java CSS JavaScript AspectJ AMPL

Updated: 1 week ago
0 stars 0 fork 0 watcher
Born at : Aug. 20, 2025, 4:39 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-31126 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-31126 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jan. 28, 2025

    Action Type Old Value New Value
    Added Reference https://jira.xwiki.org/browse/XCOMMONS-2606
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/xwiki/xwiki-commons/commit/0b8e9c45b7e7457043938f35265b2aa5adc76a68
    Added Reference https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-pv7v-ph6g-3gxv
    Added Reference https://jira.xwiki.org/browse/XCOMMONS-2606
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    May. 16, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
    Changed Reference Type https://github.com/xwiki/xwiki-commons/commit/0b8e9c45b7e7457043938f35265b2aa5adc76a68 No Types Assigned https://github.com/xwiki/xwiki-commons/commit/0b8e9c45b7e7457043938f35265b2aa5adc76a68 Patch
    Changed Reference Type https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-pv7v-ph6g-3gxv No Types Assigned https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-pv7v-ph6g-3gxv Vendor Advisory
    Changed Reference Type https://jira.xwiki.org/browse/XCOMMONS-2606 No Types Assigned https://jira.xwiki.org/browse/XCOMMONS-2606 Vendor Advisory
    Added CWE NIST CWE-79
    Added CPE Configuration OR *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 14.6 up to (excluding) 14.10.4
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.6
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

3.27 }} -23.79%

score

0.86413

percentile