CVE-2023-37462: XWiki Platform - Server-Side Template Injection
- Cve: CVE-2023-37462
- Name: XWiki Platform - Server-Side Template Injection
- Description: XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Improper escaping in the document `SkinsCode.XWikiSkinsSheet` leads to an injection vector from view right on that document to programming rights, or in other words, it is possible to execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The attack works by opening a non-existing page with a name crafted to contain a dangerous payload. It is possible to check if an existing installation is vulnerable. See the linked GHSA for instructions on testing an installation. This issue has been patched in XWiki 14.4.8, 14.10.4 and 15.0-rc-1. Users are advised to upgrade. The fix commit `d9c88ddc` can also be applied manually to the impacted document `SkinsCode.XWikiSkinsSheet` and users unable to upgrade are advised to manually patch their installations.
- Impact: Attackers can execute arbitrary code, read, and modify all wiki contents remotely, leading to full system compromise.
- Remediation: Apply the latest security patches or update to the latest version of XWiki Platform.
- Vulnerability type: template_injection
- Vulnerability impact: remote_code_execution, information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.91592
- Epss percentile: 0.99817
- Assignee: [email protected]
- Published at: 2023-07-14T21:15:08Z
- Age in days: 1229
- Modified at: 2026-06-17T06:08:16Z
- Patch available: yes
- Public exploits total: 2
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-37462
- Nvd status: modified
- Checked, none or zero: public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2026-09-08 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2023-37462 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-37462.yaml |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h4vp-69r8-gvjg | nvd | 2023-07-14 |
| https://jira.xwiki.org/browse/XWIKI-20457 | nvd | 2023-07-14 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/xwiki/xwiki-platform/commit/d9c88ddc4c0c78fa534bd33237e95dea66003d29 | nvd | Patch |
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h4vp-69r8-gvjg | nvd | Exploit, Issue Tracking, Patch, Vendor Advisory |
| https://jira.xwiki.org/browse/XWIKI-20457 | nvd | Exploit, Issue Tracking, Vendor Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-37462.yaml | nuclei_template | Nuclei Template |
| https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2023-37462 | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| xwiki:xwiki | >= 14.5, < 14.10.4; >= 7.0, < 14.4.8 | no | nvd | /v1/products/xwiki/xwiki |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| xwiki/xwiki-platform | commit, fix, package, security_advisory | yes | /v1/repositories/xwiki/xwiki-platform |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2026-09-08
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2023-07-14
- Remote: yes
- Authentication required: yes
- Exposed hosts: 142594
- Checked, none or zero: known exploited, exploitation seen, initial access
- Not known: known exploited since, initial access since, hackerone reports