Skip to content
Emerging threatsHigh

CVE-2023-50721Xwiki Code Injection

Remote code execution from account through SearchAdmin

Published Dec 16, 2023 · Updated Oct 28, 2026 · Also known as GHSA-7654-vfh6-rw6x

Key Facts

Patch immediately
  • CVE-2023-50721 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Xwiki, org.xwiki.platform:xwiki-platform-search-ui (maven), xwiki-platform.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 79% probability of exploitation in the next 30 days.
  • Fixed versions are available, including org.xwiki.platform:xwiki-platform-search-ui 14.10.15, org.xwiki.platform:xwiki-platform-search-ui 15.5.2, org.xwiki.platform:xwiki-platform-search-ui 15.7-rc-1.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

79%

Higher than 99.5% of all scored CVEs

Exploit maturity

None known

ATLAS score

33/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

XWiki Platform is a generic wiki platform. Starting in 4.5-rc-1 and prior to versions 14.10.15, 15.5.2, and 15.7-rc-1, the search administration interface doesn't properly escape the id and label of search user interface extensions, allowing the injection of XWiki syntax containing script macros including Groovy macros that allow remote code execution, impacting the confidentiality, integrity and availability of the whole XWiki instance. This attack can be executed by any user who can edit some wiki page like the user's profile (editable by default) as user interface extensions that will be displayed in the search administration can be added on any document by any user. The necessary escaping has been added in XWiki 14.10.15, 15.5.2 and 15.7RC1. As a workaround, the patch can be applied manually applied to the page XWiki.SearchAdmin.

Affected Products

6 affected entries in total
ProductAffected versionsFixed in
XwikiXwiki15.6, 15.6-rc1, 15.7-rc114.10.5
org.xwiki.platform:xwiki-platform-search-uimaven>= 4.5-rc-115.7-rc-1
xwiki-platform>= 4.5-rc-1, < 14.10.15n/a

Patched Releases

org.xwiki.platform:xwiki-platform-search-ui

14.10.15, 15.5.2, 15.7-rc-1

Xwiki

14.10.5

Timeline

  1. Publicly disclosed

    Dec 16, 2023

  2. Last updated

    Oct 28, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code
  • CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code

FAQ

Common Questions.

Is CVE-2023-50721 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.