Skip to main content
Public proof of conceptFix available

CVE-2023-45134

A public proof of concept exists; no exploitation attested.

  • Published2023-10-25
  • Fixed in14.10.2 · 13.4
  • WeaknessCWE-79

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2023-10-2520:15CVE publishedNVD

Versions per branch

NVD · CISA-ADP · OSV
Xwiki
BranchAffectedFixed in
14.10≥ 14.10, < 14.10.214.10.2
13.4≥ 3.1.1, < 13.413.4
2.4= 2.4no fix published
2.5= 2.5no fix published
3.0= 3.0no fix published
3.0= 3.0.1no fix published
3.1= 3.1no fix published
Xwiki xwiki-platform
BranchAffectedFixed in
15.x≥ 15.0-rc-1,, < 15.5-rc-115.5-rc-1
15.x≥ 15.0-rc-1, < 15.5-rc-115.5-rc-1
14.x≥ 14.0-rc-1, < 14.10.1214.10.12
14.10< 14.10.1214.10.12
13.4≥ 3.1-milestone-1, < 13.4-rc-113.4-rc-1
3.1≥ 2.4-milestone-2, < 3.1-milestone-13.1-milestone-1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • xwiki-platform
    Affected
    • = >= 3.1-milestone-1, < 13.4-rc-1no fix stated
    • = >= 2.4-milestone-2, < 3.1-milestone-1no fix stated
    • = >= 14.0-rc-1, < 14.10.12no fix stated
    • = >= 15.0-rc-1, < 15.5-rc-1no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2023-10-25

Fix

  1. Update Xwiki to 14.10.2 · 13.4

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2024-09-10
  • CNACVSS 3.19known since 2026-10-23
  • NVDCVSS 3.19read 2026-10-23
  • CNAweakness (CWE)CWE-79known since 2026-10-23
  • NVDweakness (CWE)CWE-79read 2026-10-23
  • FIRST EPSSEPSS score2.0 %2026-12-03
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryCritical2023-10-25

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Published
2023-10-25
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-gr82-8fj2-ggc3

Frequently asked questions

What is CVE-2023-45134?

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.

Is CVE-2023-45134 actively exploited?

A proof-of-concept exploit exists for CVE-2023-45134, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2023-45134?

CVE-2023-45134 has a CVSS v3 base score of 9 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.

Running xwiki-platform-web-templates? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record