# CVE-2023-45134: XWiki Platform XSS vulnerability from account in the create page form via template provider

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.02%, higher than 81% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-10-25T19:08:32.909Z
- Modified: 2026-06-17T06:28:17.180Z
- Also known as: GHSA-gr82-8fj2-ggc3
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: >= 3.1-milestone-1, < 13.4-rc-1; >= 2.4-milestone-2, < 3.1-milestone-1; >= 14.0-rc-1, < 14.10.12; >= 15.0-rc-1, < 15.5-rc-1; from 3.1-milestone-1 before 13.4-rc-1; from 2.4-milestone-2 before 3.1-milestone-1; from 14.0-rc-1 before 14.10.12; from 15.0-rc-1, before 15.5-rc-1
- org.xwiki.platform:xwiki-platform-web-templates (Maven): before 14.10.12; from 15.0-rc-1 before 15.5-rc-1
- org.xwiki.platform:xwiki-web-standard (Maven): from 2.4-milestone-2 before 3.1-milestone-1
- org.xwiki.platform:xwiki-platform-web (Maven): from 3.1-milestone-1 before 13.4-rc-1
- xwiki xwiki: from 3.1.1 before 13.4; from 14.10 before 14.10.2; 2.4; 2.5; 3.0; 3.0.1; 3.1

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `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 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: 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`

## References

- <https://jira.xwiki.org/browse/XWIKI-20962> (exploit, issue-tracking, patch, vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gr82-8fj2-ggc3> (patch, vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/ba56fda175156dd35035f2b8c86cbd8ef1f90c2e> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-45134> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2023-45134](https://www.cve.org/CVERecord?id=CVE-2023-45134), CVE Terms of Use, modified 2024-09-10
- GitHub Advisory Database: [GHSA-gr82-8fj2-ggc3](https://github.com/advisories/GHSA-gr82-8fj2-ggc3), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-45134](https://nvd.nist.gov/vuln/detail/CVE-2023-45134), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-45134 · Whole record: https://cve.day/CVE-2023-45134.json · Rebuilt by cve.day 2026-11-25T22:58:29.650Z
