cve.bz

CVE-2023-26477 xwiki xwiki: Code Injection

9.8 criticalExploit referenceEPSS 75%Fix available

Critical (9.8) in xwiki xwiki. EPSS 75% estimated probability of exploitation activity in the next 30 days. Fixed in org.xwiki.platform:xwiki-platform-flamingo-theme-ui 13.10.10, 14.4.6, 14.9-rc-1.

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

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
75% (unchanged from 75% a week ago; 75% 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.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-03-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
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-26477 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-26477?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-26477?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-26477 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 6.2.4 before 13.10.10
xwiki:xwikifrom 14.0 before 14.4.6
xwiki:xwikifrom 14.5 before 14.9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-x2qm-r4wx-8gpgMavenorg.xwiki.platform:xwiki-platform-flamingo-theme-ui>=6.2.4 <13.10.1013.10.10
GHSA-x2qm-r4wx-8gpgMavenorg.xwiki.platform:xwiki-platform-flamingo-theme-ui>=14.0 <14.4.614.4.6
GHSA-x2qm-r4wx-8gpgMavenorg.xwiki.platform:xwiki-platform-flamingo-theme-ui>=14.5 <14.9-rc-114.9-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