Security Digest · Vulnerability record

CVE-2023-50722: XSS/CSRF Remote Code Execution in XWiki.ConfigurableClass

XWiki Platform is a generic wiki platform.

CVSS 9.7 Critical EPSS 0.7% · p51

Should you act?

Critical and remotely reachable

No known exploitation yet, but it is network-reachable without credentials. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • No confirmed exploitation. It is not in CISA’s KEV catalog. That can change quickly after a public write-up; re-check if you are affected.
  • EPSS 0.7%, percentile 51: FIRST’s model estimates a 0.7% chance of exploitation activity in the next 30 days, higher than 51% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
  • Needs a user to click or open something. Phishing makes that realistic, but it is not wormable.
  • Only applies if your dependency tree includes org.xwiki.platform:xwiki-platform-administration-ui (Maven) >= 2.3, < 14.10.15, fixed in 14.10.15; org.xwiki.platform:xwiki-platform-administration-ui (Maven) >= 15.0-rc-1, < 15.5.2, fixed in 15.5.2; org.xwiki.platform:xwiki-platform-administration-ui (Maven) >= 15.6-rc-1, < 15.7-rc-1, fixed in 15.7-rc-1. Check your lockfile, including transitive dependencies.

What it is

XWiki Platform is a generic wiki platform. Starting in 2.3 and prior to versions 14.10.15, 15.5.2, and 15.7-rc-1, there is a reflected XSS or also direct remote code execution vulnerability in the code for displaying configurable admin sections. The code that can be passed through a URL parameter is only executed when the user who is visiting the crafted URL has edit right on at least one configuration section. While any user of the wiki could easily create such a section, this vulnerability doesn't require the attacker to have an account or any access on the wiki. It is sufficient to trick any admin user of the XWiki installation to visit the crafted URL. This vulnerability allows full remote code execution with programming rights and thus impacts the confidentiality, integrity and availability of the whole XWiki installation. This has been fixed in XWiki 14.10.15, 15.5.2 and 15.7RC1. The patch can be manually applied to the document XWiki.ConfigurableClass.

From the GitHub advisory

Impact

There is a reflected XSS or also direct remote code execution vulnerability in the code for displaying configurable admin sections. The code that can be passed through a URL parameter is only executed when the user who is visiting the crafted URL has edit right on at least one configuration section. While any user of the wiki could easily create such a section, in this case it is much more convenient to exploit GHSA-qj86-p74r-7wp5 which is why this attack scenario won't be further considered in the following. In contrast to GHSA-qj86-p74r-7wp5, this vulnerability doesn't require the attacker to have an account or any access on the wiki. It is sufficient to trick any admin user of the XWiki installation to visit the crafted URL. Alternatively, the URL can also be embedded as image source of an image in any content of the wiki like a comment that could be left by an anonymous user. This vulnerability allows full remote code execution with programming rights and thus impacts the confidentiality, integrity and availability of the whole XWiki installation.

Patches

This has been fixed in XWiki 14.10.15, 15.5.2 and 15.7RC1

Workarounds

Weakness type: CWE-79, CWE-352.

Product: org.xwiki.platform:xwiki-platform-administration-ui (Maven) · Assigned by: GitHub_M · Published: 2023-12-15

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
Mavenorg.xwiki.platform:xwiki-platform-administration-ui>= 2.3, < 14.10.1514.10.15
Mavenorg.xwiki.platform:xwiki-platform-administration-ui>= 15.0-rc-1, < 15.5.215.5.2
Mavenorg.xwiki.platform:xwiki-platform-administration-ui>= 15.6-rc-1, < 15.7-rc-115.7-rc-1
VendorProductAffected versions (per CVE record)
xwikixwiki-platform>= 2.3, < 14.10.15, >= 15.0-rc-1, < 15.5.2, >= 15.6-rc-1, < 15.7-rc-1

Severity scores

Scored byCVSSScoreVector
GitHub_M3.19.7 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
GitHub3.19.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Privileges required: none (no login)
  • User interaction: required (a user must click/open something)
  • Scope: changed (can affect other components)

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • FIRST EPSS (model of 2026-10-21): 0.66% probability of exploitation activity in the next 30 days; percentile 51.

Timeline

  • — CVE record published by GitHub_M
  • — GitHub-reviewed advisory GHSA-cp3j-273x-3jxc published (critical)
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-cp3j-273x-3jxc github.com
  2. CVE.org record CVE-2023-50722 cve.org
  3. NVD entry CVE-2023-50722 nvd.nist.gov

Other references from the CVE record and advisory

  1. github.com github.com
  2. github.com github.com
  3. jira.xwiki.org jira.xwiki.org

Critical Maven advisories · Today’s Security Digest