← Vulnerability feed

Vulnerability record · CVE-2023-26477 · published 2 March 2023

CVE-2023-26477: XWiki Platform unauthenticated code injection via newThemeName parameter

Xwiki · Xwiki

XWiki Platform versions from 6.3-rc-1 and 6.2.4 onward allow injection of arbitrary wiki syntax, including Groovy, Python and Velocity script macros, through the newThemeName request parameter combined with additional parameters. Because the injected macros execute server-side, this is a remote code execution flaw in a widely deployed wiki platform. It is patched in 13.10.10, 14.9-rc-1 and 14.4.6.

9.8 CVSS 3.1 Critical EPSS 75% · top 0.5% CWE-95 · CWE-95CWE-94 · Code injection
9.8CVSS 3.1 base score
75%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

XWiki Platform is a generic wiki platform. Starting in versions 6.3-rc-1 and 6.2.4, it's possible to inject arbitrary wiki syntax including Groovy, Python and Velocity script macros via the `newThemeName` request parameter (URL parameter), in combination with additional parameters. This has been patched in the supported versions 13.10.10, 14.9-rc-1, and 14.4.6. As a workaround, it is possible to edit `FlamingoThemesCode.WebHomeSheet` and manually perform the changes from the patch fixing the issue.

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityCVSS 9.8 with no authentication or user interaction required, combined with a very high EPSS score and public exploit references, makes this an urgent remote code execution risk.

What it is

XWiki Platform versions from 6.3-rc-1 and 6.2.4 onward allow injection of arbitrary wiki syntax, including Groovy, Python and Velocity script macros, through the newThemeName request parameter combined with additional parameters. Because the injected macros execute server-side, this is a remote code execution flaw in a widely deployed wiki platform. It is patched in 13.10.10, 14.9-rc-1 and 14.4.6.

Impact

An attacker can execute arbitrary server-side code in the XWiki application context, leading to full compromise of confidentiality, integrity and availability. This can expose or modify wiki content, credentials and underlying host resources.

Attack surface

Reachable over the network through an HTTP request carrying the newThemeName parameter and related parameters; the CVSS vector shows no privileges or user interaction required. No authentication is needed per the AV:N/AC:L/PR:N/UI:N vector.

Exploitation

Not listed in CISA KEV, but EPSS is very high at 0.74757 (99.478th percentile) and the vendor advisory and Jira references are tagged Exploit, indicating public exploit information exists.

What to do

  • Upgrade XWiki Platform to 13.10.10, 14.9-rc-1, 14.4.6 or a later supported release.
  • If immediate upgrade is not possible, apply the documented workaround by editing FlamingoThemesCode.WebHomeSheet to match the patch changes.
  • Restrict network access to the XWiki instance to trusted users or networks until patched.
  • Review and remove any untrusted or unnecessary script macro execution rights for wiki users.
  • Monitor XWiki logs for unexpected Groovy, Python or Velocity macro execution.

Detection

  • Search HTTP access logs for requests containing the newThemeName parameter, especially with unusual or encoded values.
  • Inspect XWiki application logs for Groovy, Python or Velocity macro execution errors or unexpected script invocations.
  • Monitor for outbound network connections or process creation from the XWiki server that are not typical for the application.
  • Audit wiki page and theme configuration changes for unauthorized modifications.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-26477 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-24893XWiki SolrSearch unauthenticated remote code executionXWiki Platform's SolrSearch endpoint evaluates user-supplied search text as Groovy code, allowing arbitrary remote code execution. The flaw is reacha…KEVEPSS 100%analysed9.9CVE-2023-27479Xwiki injection vulnerabilityXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with view righ…EPSS 1.1%9.8CVE-2024-31996Xwiki code injection vulnerabilityXWiki Platform is a generic wiki platform. Starting in version 3.0.1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, the HTML escaping of esca…EPSS 2.1%9.8CVE-2024-31982Xwiki code injection vulnerabilityXWiki Platform is a generic wiki platform. Starting in version 2.4-milestone-1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, XWiki's databas…EPSS 35%9.8CVE-2024-21650XWiki user registration RCE via name fieldsXWiki Platform is vulnerable to remote code execution through its guest user registration feature. An attacker can inject malicious payloads into the…EPSS 93%analysed9.8CVE-2023-46731XWiki Platform unescaped URL parameter allows remote code executionXWiki Platform fails to properly escape the section URL parameter used when displaying administration sections, allowing injection of code such as Gr…EPSS 89%analysed9.8CVE-2022-29161Xwiki broken cryptographic algorithm vulnerabilityXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The XWiki Crypto API will generate X509 cert…EPSS 0.41%9.6CVE-2023-45136Xwiki cross-site scripting vulnerabilityXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. When document names are validated according …EPSS 5.1%

Source: NIST National Vulnerability Database (record CVE-2023-26477), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.