SecurityContext

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

IdName
CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2026-09-08—no

Nuclei templates

IdUrl
CVE-2023-37462https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-37462.yaml

Public exploits

UrlSourceAdded date
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h4vp-69r8-gvjgnvd2023-07-14
https://jira.xwiki.org/browse/XWIKI-20457nvd2023-07-14

References

UrlSourceTags
https://github.com/xwiki/xwiki-platform/commit/d9c88ddc4c0c78fa534bd33237e95dea66003d29nvdPatch
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h4vp-69r8-gvjgnvdExploit, Issue Tracking, Patch, Vendor Advisory
https://jira.xwiki.org/browse/XWIKI-20457nvdExploit, Issue Tracking, Vendor Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-37462.yamlnuclei_templateNuclei Template
https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2023-37462vulncheckVulncheck Reported Exploitation

Products

ProductAffectedPlatform boundSourcesUrl
xwiki:xwiki>= 14.5, < 14.10.4; >= 7.0, < 14.4.8nonvd/v1/products/xwiki/xwiki

Projects

RepositoryLink kindsIndexedUrl
xwiki/xwiki-platformcommit, fix, package, security_advisoryyes/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

Nuclei template