CVE-2023-37912
highpriority · track · 36EPSS 0.015 · 73 %ileEURUUSEPSS · scored 2026-10-27
XWiki Rendering is a generic Rendering system that converts textual input in a given syntax into another syntax. Prior to version 14.10.6 of `org.xwiki.platform:xwiki-core-rendering-macro-footnotes` and `org.xwiki.platform:xwiki-rendering-macro-footnotes` and prior to version 15.1-rc-1 of `org.xwiki.platform:xwiki-rendering-macro-footnotes`, the footnote macro executed its content in a potentially different context than the one in which it was defined. In particular in combination with the include macro, this allows privilege escalation from a simple user account in XWiki to programming rights and thus remote code execution, impacting the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.6 and 15.1-rc-1. There is no workaround apart from upgrading to a fixed version of the footnote macro.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.1–10
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (9)
Products and version ranges known to be affected.
- Maven org.xwiki.platform:xwiki-core-rendering-macro-footnotes< 14.10.6osvUSpkg:maven/org.xwiki.platform/xwiki-core-rendering-macro-footnotes
- Maven org.xwiki.rendering:xwiki-rendering-macro-footnotes< 14.10.6osvUSpkg:maven/org.xwiki.rendering/xwiki-rendering-macro-footnotes
- Maven org.xwiki.rendering:xwiki-rendering-macro-footnotes15.0-rc-1 → 15.1-rc-1osvUSpkg:maven/org.xwiki.rendering/xwiki-rendering-macro-footnotes
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-35j5-m29r-xfq5XWiki Rendering's footnote macro vulnerable to privilege escalation via the footnote macro2023-10-25ghsa · osvUS
### Impact The footnote macro executed its content in a potentially different context than the one in which it was defined. In particular in combination with the include macro, this allows privilege escalation from a simple user account in XWiki to programming rights and thus remote code execution, impacting the confidentiality, integrity and availability of the whole XWiki installation. To reproduce, perform the following steps: 1. Edit your user profile with the object editor and add an object of type DocumentSheetBinding with value XWiki.ClassSheet 2. Edit your user profile with the wiki editor and add the syntax `{{footnote}}{{groovy}}println("Hello " + "from groovy!"){{/groovy}}{{/footnote}}` When the text "Hello from groovy!" is displayed at the bottom of the document, the installation is vulnerable. Instead, an error should be displayed. ### Patches This vulnerability has been patched in XWiki 14.10.6 and 15.1-rc-1. ### Workarounds There is no workaround apart from upgrading to a fixed version of the footnote macro. ### References * https://jira.xwiki.org/browse/XRENDERING-688 * https://github.com/xwiki/xwiki-rendering/commit/5f558b8fac8b716d19999225f38cb8ed0814116e
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-37912/cnnvd
- https://github.com/xwiki/xwiki-rendering/commit/5f558b8fac8b716d19999225f38cb8ed0814116ecnnvd
- https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-35j5-m29r-xfq5cnnvd
- https://jira.xwiki.org/browse/XRENDERING-688cnnvd
- https://github.com/xwiki/xwiki-rendering/commit/5f558b8fac8b716d19999225f38cb8ed0814116eenisa_euvd
- https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-35j5-m29r-xfq5enisa_euvd
- https://jira.xwiki.org/browse/XRENDERING-688enisa_euvd
- https://github.com/xwiki/xwiki-rendering/commit/5f558b8fac8b716d19999225f38cb8ed0814116ePatchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan