WaratekVRT Sign in

CVE-2023-45134 XWiki

Affected softwareXWiki
Severity9.0 Critical CVSS 3.1 2 scores
Fixed in14.10.12, 15.5-rc-1
WeaknessCross-site scripting (CWE-79)
Published25 Oct 2023
Updated17 Jun 2026

Description

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.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: total.
  • Indexed PoC none indexed
  • EPSS 2.0% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: xwiki/xwiki-platform ba56fda.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/xwiki/xwiki-platform/commit/ba56fda175156dd35035f2b8c86cbd8ef1f90c2e : a commit: the change itself

CVSS

9.0 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
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 security-advisories@github.com Secondary published
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 NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.xwiki.platform:xwiki-platform-web-templates 0 14.10.12 unbounded
org.xwiki.platform:xwiki-platform-web-templates 15.0-rc-1 15.5-rc-1 unbounded
org.xwiki.platform:xwiki-web-standard 2.4-milestone-2 3.1-milestone-1 unbounded
org.xwiki.platform:xwiki-platform-web 3.1-milestone-1 13.4-rc-1 unbounded

Products and versions

4 products, 18 version entries
SourceVendorProductSchemeAffected versions
osv org.xwiki.platform xwiki-platform-web generic ≥ 3.1 and < 13.4
osv org.xwiki.platform xwiki-platform-web-templates generic < 14.10.12 · ≥ 15.0 and < 15.5
osv org.xwiki.platform xwiki-web-standard generic ≥ 2.4 and < 3.1
nvd xwiki xwiki generic 2.4:milestone2 · 2.5:milestone2 · 3.0 · 3.0:milestone_2 · 3.0:milestone1 · 3.0:milestone2 · 3.0:milestone3 · 3.0:rc1 · 3.0.1 · 3.1 · 3.1:milestone1 · 3.1:milestone2 · ≥ 3.1.1 and < 13.4 · ≥ 14.10 and < 14.10.2

References

URLTags
https://github.com/xwiki/xwiki-platform/commit/ba56fda175156dd35035f2b8c86cbd8ef1f90c2e commit
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gr82-8fj2-ggc3 WEB
https://github.com/xwiki/xwiki-platform PACKAGE
https://jira.xwiki.org/browse/XWIKI-20962 WEB

Timeline

Published2023-10-25By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.