{"id":"CVE-2023-37912","published":"2023-10-25T17:33:54Z","modified":"2024-09-12T20:47:45Z","title":"XWiki Rendering's footnote macro vulnerable to privilege escalation via the footnote macro","vendor":"xwiki","product":"xwiki-rendering","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03023,"percentile":0.88183,"provenance":"source"},"cwes":[{"id":"CWE-270","name":"Privilege Context Switching Error"}],"references":[{"url":"https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-35j5-m29r-xfq5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-rendering/commit/5f558b8fac8b716d19999225f38cb8ed0814116e","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XRENDERING-688","tags":["x_refsource_MISC"]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":17.64},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-rendering","versions":["< 14.10.6",">= 15.0-rc-1, < 15.1-rc-1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-09-10T18:34:21.859558Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.rendering:xwiki-rendering-macro-footnotes","vulnerableRanges":["<14.10.6",">=15.0-rc-1, <15.1-rc-1"],"patched":["14.10.6","15.1-rc-1"],"from":["GHSA-35j5-m29r-xfq5"],"provenance":"source"},{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-core-rendering-macro-footnotes","vulnerableRanges":["<14.10.6"],"patched":["14.10.6"],"from":["GHSA-35j5-m29r-xfq5"],"provenance":"source"}],"summary":{"text":"The XWiki Rendering footnote macro (in the xwiki-rendering product) executes its content in a context that can differ from the one where it was defined, a flaw that is not present in the fixed macro versions. A remote attacker with only a low-privileged user account can exploit this, particularly when combined with the include macro, to gain programming rights and achieve remote code execution across the XWiki installation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:01:30Z"},"euvd":{"id":"EUVD-2023-2625","exploited":false,"provenance":"source"}}