9.0
CRITICAL
CVE-2023-29201
XWiki Commons Cross-Site Scripting Vulnerability
Description

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.

INFO

Published Date :

April 15, 2023, 3:15 p.m.

Last Modified :

April 25, 2023, 6:26 p.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

2.3
Affected Products

The following products are affected by CVE-2023-29201 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
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-29201.

URL Resource
https://github.com/xwiki/xwiki-commons/commit/4a185e0594d90cd4916d60aa60bb4333dc5623b2 Patch
https://github.com/xwiki/xwiki-commons/commit/b11eae9d82cb53f32962056b5faa73f3720c6182 Patch
https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-m3jr-cvhj-f35j Exploit Patch Vendor Advisory
https://jira.xwiki.org/browse/XCOMMONS-1680 Exploit Issue Tracking
https://jira.xwiki.org/browse/XCOMMONS-2426 Exploit Issue Tracking
https://jira.xwiki.org/browse/XWIKI-9118 Exploit Issue Tracking

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

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-29201 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-29201 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 [email protected]

    May. 14, 2024

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

    Apr. 25, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
    Changed Reference Type https://github.com/xwiki/xwiki-commons/commit/4a185e0594d90cd4916d60aa60bb4333dc5623b2 No Types Assigned https://github.com/xwiki/xwiki-commons/commit/4a185e0594d90cd4916d60aa60bb4333dc5623b2 Patch
    Changed Reference Type https://github.com/xwiki/xwiki-commons/commit/b11eae9d82cb53f32962056b5faa73f3720c6182 No Types Assigned https://github.com/xwiki/xwiki-commons/commit/b11eae9d82cb53f32962056b5faa73f3720c6182 Patch
    Changed Reference Type https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-m3jr-cvhj-f35j No Types Assigned https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-m3jr-cvhj-f35j Exploit, Patch, Vendor Advisory
    Changed Reference Type https://jira.xwiki.org/browse/XCOMMONS-1680 No Types Assigned https://jira.xwiki.org/browse/XCOMMONS-1680 Exploit, Issue Tracking
    Changed Reference Type https://jira.xwiki.org/browse/XCOMMONS-2426 No Types Assigned https://jira.xwiki.org/browse/XCOMMONS-2426 Exploit, Issue Tracking
    Changed Reference Type https://jira.xwiki.org/browse/XWIKI-9118 No Types Assigned https://jira.xwiki.org/browse/XWIKI-9118 Exploit, Issue Tracking
    Added CPE Configuration OR *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 5.0 up to (including) 14.5
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.
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-29201 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-29201 weaknesses.

Exploit Prediction

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

0.44 }} 0.08%

score

0.75379

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability