cve.bz

CVE-2023-27479 xwiki xwiki: Injection

9.9 criticalExploit referenceEPSS 1.1%Fix available

Critical (9.9) in xwiki xwiki. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in org.xwiki.platform:xwiki-platform-panels-ui 13.10.11, 14.10-rc-1, 14.4.7.

On this page
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with view rights can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping of UIX parameters. A proof of concept exploit is to log in, add an `XWiki.UIExtensionClass` xobject to the user profile page, with an Extension Parameters content containing `label={{/html}} {{async async="true" cached="false" context="doc.reference"}}{{groovy}}println("Hello " + "from groovy!"){{/groovy}}{{/async}}`. Then, navigating to `PanelsCode.ApplicationsPanelConfigurationSheet` (i.e., `<xwiki-host>/xwiki/bin/view/PanelsCode/ApplicationsPanelConfigurationSheet` where `<xwiki-host>` is the URL of your XWiki installation) should not execute the Groovy script. If it does, you will see `Hello from groovy!` displayed on the screen. This vulnerability has been patched in XWiki 13.10.11, 14.4.7 and 14.10-rc-1. Users are advised to upgrade. For users unable to upgrade the issue can be fixed by editing the `PanelsCode.ApplicationsPanelConfigurationSheet` wiki page and making the same modifications as shown in commit `6de5442f3c`.

Severity

CVSS 3.1

9.9 critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th 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-02-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (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-27479 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-27479?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-27479?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-27479 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:xwikiafter 6.3 before 13.10.11
xwiki:xwikifrom 14.0 before 14.4.7
xwiki:xwikifrom 14.5 before 14.10
xwiki:xwiki6.3
xwiki:xwiki6.3:milestone1
xwiki:xwiki6.3:milestone2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qxjg-jhgw-qhrvMavenorg.xwiki.platform:xwiki-platform-panels-ui>=6.3-milestone-2 <13.10.1113.10.11
GHSA-qxjg-jhgw-qhrvMavenorg.xwiki.platform:xwiki-platform-panels-ui>=14.0 <14.4.714.4.7
GHSA-qxjg-jhgw-qhrvMavenorg.xwiki.platform:xwiki-platform-panels-ui>=14.5 <14.10-rc-114.10-rc-1

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON