Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-31126

9.0 · CRITICAL
Published May 9, 2023 xwiki CWE-86 EPSS 0.82% (55th pctl)

Overview

CVE-2023-31126 is a critical-severity vulnerability affecting xwiki xwiki. It was published on May 9, 2023 and has a CVSS 3.1 base score of 9.0 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.0, rated CRITICAL. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

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

Remediation

Check the references section for vendor advisories and patches from xwiki. Update xwiki to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
xwiki xwiki >= 14.6, < 14.10.4 Affected

Frequently Asked Questions

What is CVE-2023-31126?

CVE-2023-31126 is a critical-severity vulnerability affecting xwiki xwiki. It was published on May 9, 2023 and has a CVSS 3.1 base score of 9.0 (CRITICAL).

How severe is CVE-2023-31126?

This vulnerability has a CVSS 3.1 base score of 9.0, rated CRITICAL. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-31126?

Check the references section for vendor advisories and patches from xwiki. Update xwiki to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-31126?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-31126 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.