cve.bz

CVE-2023-36470 xwiki xwiki: Injection

8.8 highExploit referenceEPSS 1.9%Fix available

High (8.8) in xwiki xwiki. EPSS 1.9% estimated probability of exploitation activity in the next 30 days. Fixed in org.xwiki.platform:xwiki-platform-icon-default 14.10.6, 15.2-rc-1.

On this page
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. By either creating a new or editing an existing document with an icon set, an attacker can inject XWiki syntax and Velocity code that is executed with programming rights and thus allows remote code execution. There are different attack vectors, the simplest is the Velocity code in the icon set's HTML or XWiki syntax definition. The [icon picker](https://extensions.xwiki.org/xwiki/bin/view/Extension/Icon%20Theme%20Application#HIconPicker) can be used to trigger the rendering of any icon set. The XWiki syntax variant of the icon set is also used without any escaping in some documents, allowing to inject XWiki syntax including script macros into a document that might have programming right, for this the currently used icon theme needs to be edited. Further, the HTML output of the icon set is output as JSON in the icon picker and this JSON is interpreted as XWiki syntax, allowing again the injection of script macros into a document with programming right and thus allowing remote code execution. This impacts the confidentiality, integrity and availability of the whole XWiki instance. This issue has been patched in XWiki 14.10.6 and 15.1. Icon themes now require script right and the code in the icon theme is executed within the context of the icon theme, preventing any rights escalation. A macro for displaying icons has been introduced to avoid injecting the raw wiki syntax of an icon set into another document. Users are advised to upgrade. There are no known workarounds for this vulnerability.

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
1.9% (unchanged from 1.9% a week ago; 1.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-11-26. 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-36470 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-36470?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-36470?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-36470 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 before 14.10.6
xwiki:xwiki15.0
xwiki:xwiki15.0:rc1
xwiki:xwiki15.1
xwiki:xwiki15.1:rc1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fm68-j7ww-h9xfMavenorg.xwiki.platform:xwiki-platform-icon-default>=6.2-milestone-1 <14.10.614.10.6
GHSA-fm68-j7ww-h9xfMavenorg.xwiki.platform:xwiki-platform-icon-script>=6.2-milestone-1 <14.10.614.10.6
GHSA-fm68-j7ww-h9xfMavenorg.xwiki.platform:xwiki-platform-icon-script>=15.0-rc-1 <15.2-rc-115.2-rc-1
GHSA-fm68-j7ww-h9xfMavenorg.xwiki.platform:xwiki-platform-icon-default>=15.0-rc-1 <15.2-rc-115.2-rc-1
GHSA-fm68-j7ww-h9xfMavenorg.xwiki.platform:xwiki-platform-icon-ui>=6.2-milestone-1 <14.10.614.10.6
GHSA-fm68-j7ww-h9xfMavenorg.xwiki.platform:xwiki-platform-icon-ui>=15.0-rc-1 <15.2-rc-115.2-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