9.6
CRITICAL
CVE-2023-37908
XWiki Cross-Site Scripting Vulnerability
Description

XWiki Rendering is a generic Rendering system that converts textual input in a given syntax into another syntax. The cleaning of attributes during XHTML rendering, introduced in version 14.6-rc-1, allowed the injection of arbitrary HTML code and thus cross-site scripting via invalid attribute names. This can be exploited, e.g., via the link syntax in any content that supports XWiki syntax like comments in XWiki. When a user moves the mouse over a malicious link, the malicious JavaScript code is executed in the context of the user session. When this user is a privileged user who has programming rights, this allows server-side code execution with programming rights, impacting the confidentiality, integrity and availability of the XWiki instance. While this attribute was correctly recognized as not allowed, the attribute was still printed with a prefix `data-xwiki-translated-attribute-` without further cleaning or validation. This problem has been patched in XWiki 14.10.4 and 15.0 RC1 by removing characters not allowed in data attributes and then validating the cleaned attribute again. There are no known workarounds apart from upgrading to a version including the fix.

INFO

Published Date :

Oct. 25, 2023, 6:17 p.m.

Last Modified :

Oct. 31, 2023, 6:35 p.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2023-37908 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-rendering
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-37908.

URL Resource
https://github.com/xwiki/xwiki-rendering/commit/f4d5acac451dccaf276e69f0b49b72221eef5d2f Patch
https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-663w-2xp3-5739 Exploit Patch Vendor Advisory
https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-6gf5-c898-7rxp Exploit Patch Vendor Advisory
https://jira.xwiki.org/browse/XRENDERING-697 Exploit Issue Tracking Vendor Advisory

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

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

    Oct. 31, 2023

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:xwiki:commons:14.6:rc1:*:*:*:*:*:* *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 14.6 up to (excluding) 14.10.4 OR *cpe:2.3:a:xwiki:xwiki-rendering:*:*:*:*:*:*:*:* versions from (including) 14.6 up to (excluding) 14.10.4
  • Initial Analysis by [email protected]

    Oct. 31, 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-rendering/commit/f4d5acac451dccaf276e69f0b49b72221eef5d2f No Types Assigned https://github.com/xwiki/xwiki-rendering/commit/f4d5acac451dccaf276e69f0b49b72221eef5d2f Patch
    Changed Reference Type https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-663w-2xp3-5739 No Types Assigned https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-663w-2xp3-5739 Exploit, Patch, Vendor Advisory
    Changed Reference Type https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-6gf5-c898-7rxp No Types Assigned https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-6gf5-c898-7rxp Exploit, Patch, Vendor Advisory
    Changed Reference Type https://jira.xwiki.org/browse/XRENDERING-697 No Types Assigned https://jira.xwiki.org/browse/XRENDERING-697 Exploit, Issue Tracking, Vendor Advisory
    Added CWE NIST CWE-79
    Added CPE Configuration OR *cpe:2.3:a:xwiki:commons:14.6:rc1:*:*:*:*:*:* *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.
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-37908 is associated with the following CWEs:

Exploit Prediction

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

0.09 }} -0.04%

score

0.35819

percentile

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