CVE-2023-37462

CVE-2023-37462 is a critical-severity vulnerability in Xwiki with a CVSS 3.x base score of 9.9. Its EPSS exploit-prediction score of 91% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-74.

Key facts

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.

Frequently asked questions

What is CVE-2023-37462?
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.
How severe is CVE-2023-37462?
CVE-2023-37462 has a CVSS 3.x base score of 9.9, rated critical severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2023-37462 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 91% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2023-37462?
CVE-2023-37462 affects Xwiki. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2023-37462?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
When was CVE-2023-37462 published?
CVE-2023-37462 was published on 2023-07-14 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Xwiki

All CVEs affecting Xwiki →

Other CWE-74 (Improper Neutralization of Special Elements (Injection)) vulnerabilities

Browse all CWE-74 (Improper Neutralization of Special Elements (Injection)) vulnerabilities →