cve.bz

CVE-2023-50721 xwiki xwiki: Code Injection

8.8 highEPSS 79%Fix available

High (8.8) in xwiki xwiki. EPSS 79% estimated probability of exploitation activity in the next 30 days. Fixed in org.xwiki.platform:xwiki-platform-search-ui 14.10.15, 15.5.2, 15.7-rc-1.

On this page
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`.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
79% (unchanged from 79% a week ago; 79% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-94 Improper Control of Generation of Code (Code Injection)
CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code (Eval Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-50721 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-50721?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-50721?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-50721 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
xwiki:xwikifrom 4.5 before 14.10.5
xwiki:xwikifrom 15.0 before 15.5.2
xwiki:xwiki15.6
xwiki:xwiki15.6:rc1
xwiki:xwiki15.7:rc1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7654-vfh6-rw6xMavenorg.xwiki.platform:xwiki-platform-search-ui>=4.5-rc-1 <14.10.1514.10.15
GHSA-7654-vfh6-rw6xMavenorg.xwiki.platform:xwiki-platform-search-ui>=15.0-rc-1 <15.5.215.5.2
GHSA-7654-vfh6-rw6xMavenorg.xwiki.platform:xwiki-platform-search-ui>=15.6-rc-1 <15.7-rc-115.7-rc-1

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON