cve.bz

CVE-2023-45134 xwiki xwiki: Cross-site Scripting

9.0 criticalExploit referenceEPSS 2.0%Fix available

Critical (9.0) in xwiki xwiki. EPSS 2.0% estimated probability of exploitation activity in the next 30 days. Fixed in org.xwiki.platform:xwiki-platform-web-templates 14.10.12, 15.5-rc-1.

On this page
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. `org.xwiki.platform:xwiki-platform-web` starting in version 3.1-milestone-1 and prior to 13.4-rc-1, `org.xwiki.platform:xwiki-platform-web-templates` prior to versions 14.10.2 and 15.5-rc-1, and `org.xwiki.platform:xwiki-web-standard` starting in version 2.4-milestone-2 and prior to version 3.1-milestone-1 are vulnerable to cross-site scripting. An attacker can create a template provider on any document that is part of the wiki (could be the attacker's user profile) that contains malicious code. This code is executed when this template provider is selected during document creation which can be triggered by sending the user to a URL. For the attacker, the only requirement is to have an account as by default the own user profile is editable. This allows an attacker to execute arbitrary actions with the rights of the user opening the malicious link. Depending on the rights of the user, this may allow remote code execution and full read and write access to the whole XWiki installation. This has been patched in `org.xwiki.platform:xwiki-platform-web` 13.4-rc-1, `org.xwiki.platform:xwiki-platform-web-templates` 14.10.2 and 15.5-rc-1, and `org.xwiki.platform:xwiki-web-standard` 3.1-milestone-1 by adding the appropriate escaping. The vulnerable template file createinline.vm is part of XWiki's WAR and can be patched by manually applying the changes from the fix.

Severity

CVSS 3.1

9.0 critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
EPSS
2.0% (unchanged from 2.0% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 81st 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-09-10. 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-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
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-45134 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-45134?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-45134?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-45134 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 3.1.1 before 13.4
xwiki:xwikifrom 14.10 before 14.10.2
xwiki:xwiki2.4:milestone2
xwiki:xwiki2.5:milestone2
xwiki:xwiki3.0
xwiki:xwiki3.0:milestone_2
xwiki:xwiki3.0:milestone1
xwiki:xwiki3.0:milestone2
xwiki:xwiki3.0:milestone3
xwiki:xwiki3.0:rc1
xwiki:xwiki3.0.1
xwiki:xwiki3.1
xwiki:xwiki3.1:milestone1
xwiki:xwiki3.1:milestone2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gr82-8fj2-ggc3Mavenorg.xwiki.platform:xwiki-platform-web-templates<14.10.1214.10.12
GHSA-gr82-8fj2-ggc3Mavenorg.xwiki.platform:xwiki-platform-web-templates>=15.0-rc-1 <15.5-rc-115.5-rc-1
GHSA-gr82-8fj2-ggc3Mavenorg.xwiki.platform:xwiki-web-standard>=2.4-milestone-2 <3.1-milestone-13.1-milestone-1
GHSA-gr82-8fj2-ggc3Mavenorg.xwiki.platform:xwiki-platform-web>=3.1-milestone-1 <13.4-rc-113.4-rc-1

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON