---
title: "CVE-2023-45137: XWiki Platform vulnerable to XSS with edit right in the create document form for existing pages"
url: https://erroneo.us/security/cve/CVE-2023-45137/
description: "CVE-2023-45137 (org.xwiki.platform:xwiki-platform-web-templates (Maven)): XWiki Platform is a generic wiki platform offering runtime services for…"
type: vulnerability-record
section: "Security Digest"
date_published: 2023-10-25
date_modified: 2024-09-10
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2023-45137"
kev: false
cvss: 9.1
epss: 0.00623
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2023-45137: XWiki Platform vulnerable to XSS with edit right in the create document form for existing pages

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.6% , percentile 49: FIRST’s model estimates a 0.6% chance of exploitation activity in the next 30 days, higher than 49% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes org.xwiki.platform:xwiki-platform-web-templates (Maven) < 14.10.12, fixed in 14.10.12 ; org.xwiki.platform:xwiki-platform-web-templates (Maven) >= 15.0-rc-1, < 15.5-rc-1, fixed in 15.5-rc-1 ; org.xwiki.platform:xwiki-platform-web (Maven) >= 3.1-milestone-2, < 13.4-rc-1, fixed in 13.4-rc-1 . Check your lockfile, including transitive dependencies.

## What it is

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-2 and prior to version 13.4-rc-1, as well as org.xwiki.platform:xwiki-platform-web-templates prior to versions 14.10.12 and 15.5-rc-1, are vulnerable to cross-site scripting. When trying to create a document that already exists, XWiki displays an error message in the form for creating it. Due to missing escaping, this error message is vulnerable to raw HTML injection and thus XSS. The injected code is the document reference of the existing document so this requires that the attacker first creates a non-empty document whose name contains the attack code. This has been patched in org.xwiki.platform:xwiki-platform-web version 13.4-rc-1 and org.xwiki.platform:xwiki-platform-web-templates versions 14.10.12 and 15.5-rc-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.

## Affected packages

- Maven `org.xwiki.platform:xwiki-platform-web-templates` < 14.10.12 → fixed: 14.10.12
- Maven `org.xwiki.platform:xwiki-platform-web-templates` >= 15.0-rc-1, < 15.5-rc-1 → fixed: 15.5-rc-1
- Maven `org.xwiki.platform:xwiki-platform-web` >= 3.1-milestone-2, < 13.4-rc-1 → fixed: 13.4-rc-1

## Affected products (CVE record)

- xwiki xwiki-platform: >= 3.1-milestone-2, < 13.4-rc-1, >= 14.0-rc-1, < 14.10.12, >= 15.0-rc-1, < 15.5-rc-1

## Severity

- GitHub_M CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.0 `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.62% probability of exploitation activity in the next 30 days; percentile 49.

## Sources

- [GitHub Advisory GHSA-93gh-jgjj-r929](https://github.com/advisories/GHSA-93gh-jgjj-r929)
- [CVE.org record CVE-2023-45137](https://www.cve.org/CVERecord?id=CVE-2023-45137)
- [NVD entry CVE-2023-45137](https://nvd.nist.gov/vuln/detail/CVE-2023-45137)
- [github.com](https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-93gh-jgjj-r929)
- [github.com](https://github.com/xwiki/xwiki-platform/commit/ed8ec747967f8a16434806e727a57214a8843581)
- [jira.xwiki.org](https://jira.xwiki.org/browse/XWIKI-20961)

---
Source page: https://erroneo.us/security/cve/CVE-2023-45137/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
