Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-45135

CRITICAL 9.1PoCEPSS 88%

XWiki users can be tricked to execute scripts as the create page action doesn't display the page's title

Also known as GHSA-ghf6-2f42-mjh9

Mitigation

  • Upgrade org.xwiki.platform:xwiki-platform-web-templates to one of 14.10.12, 15.5-rc-1 (or later in the same release line).
  • Upgrade org.xwiki.platform:xwiki-platform-web to 14.10.12 or later.

Who should check

  • Projects that depend on Maven package org.xwiki.platform:xwiki-platform-web-templates (< 14.10.12)
  • Projects that depend on Maven package org.xwiki.platform:xwiki-platform-web (>= 7.2-milestone-2, < 14.10.12)
  • Anyone running xwiki-platform >= 7.2-milestone-2, < 14.10.12; >= 15.0-rc-1, < 15.5-rc-1

Vulnerability facts

Affected
org.xwiki.platform:xwiki-platform-web-templates < 14.10.12; org.xwiki.platform:xwiki-platform-web >= 7.2-milestone-2, < 14.10.12
Fixed in
14.10.12, 15.5-rc-1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, login needed
CVSS
9.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
3.02% chance of exploitation in 30 days (percentile 88, 2026-11-26)
CWE
CWE-116
Published
Modified

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In `org.xwiki.platform:xwiki-platform-web` versions 7.2-milestone-2 until 14.10.12 and `org.xwiki.platform:xwiki-platform-web-templates` prior to versions 14.10.12 and 15.5-rc-1, it is possible to pass a title to the page creation action that isn't displayed at first but then executed in the second step. This can be used by an attacker to trick a victim to execute code, allowing script execution if the victim has script right or remote code execution including full access to the XWiki instance if the victim has programming right. For the attack to work, the attacker needs to convince the victim to visit a link like `<xwiki-host>/xwiki/bin/create/NonExistingSpace/WebHome?title=$services.logging.getLogger(%22foo%22).error(%22Script%20executed!%22)` where `<xwiki-host>` is the URL of the Wiki installation and to then click on the "Create" button on that page. The page looks like a regular XWiki page that the victim would also see when clicking the button to create a page that doesn't exist yet, the malicious code is not displayed anywhere on that page. After clicking the "Create" button, the malicious title would be displayed but at this point, the code has already been executed and the attacker could use this code also to hide the attack, e.g., by redirecting the victim again to the same page with an innocent title. It thus seems plausible that this attack could work if the attacker can place a fake "create page" button on a page which is possible with edit right. This has been patched in `org.xwiki.platform:xwiki-platform-web` version 14.10.12 and `org.xwiki.platform:xwiki-platform-web-templates` versions 14.10.12 and 15.5-rc-1 by displaying the title already in the first step such that the victim can notice the attack before continuing. It is possible to manually patch the modified files from the patch in an existing installation. For the JavaScript change, the minified JavaScript file would need to be obtained from a build of XWiki and replaced accordingly.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.xwiki.platform:xwiki-platform-web-templates< 14.10.1214.10.12, 15.5-rc-1osv
Maven org.xwiki.platform:xwiki-platform-web>= 7.2-milestone-2, < 14.10.1214.10.12osv
xwiki-platform>= 7.2-milestone-2, < 14.10.12; >= 15.0-rc-1, < 15.5-rc-1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-45135. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-45135.md
Affected: org.xwiki.platform:xwiki-platform-web-templates < 14.10.12; org.xwiki.platform:xwiki-platform-web >= 7.2-milestone-2, < 14.10.12
Fixed in: 14.10.12, 15.5-rc-1

Steps:
1. Search this machine and project for org.xwiki.platform:xwiki-platform-web-templates (Maven), org.xwiki.platform:xwiki-platform-web (Maven), xwiki-platform: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-45135 being exploited?

There is no confirmed exploitation: CVE-2023-45135 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 3.02% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-45135?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2023-45135?

org.xwiki.platform:xwiki-platform-web-templates < 14.10.12; org.xwiki.platform:xwiki-platform-web >= 7.2-milestone-2, < 14.10.12.

Is there a fix for CVE-2023-45135?

Yes. Fixed in 14.10.12, 15.5-rc-1. Upgrade org.xwiki.platform:xwiki-platform-web-templates to one of 14.10.12, 15.5-rc-1 (or later in the same release line). Upgrade org.xwiki.platform:xwiki-platform-web to 14.10.12 or later.

How do I check if I'm affected by CVE-2023-45135?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors