{"id":"CVE-2024-38369","published":"2024-06-24T16:39:37Z","modified":"2024-08-02T04:04:25Z","title":"XWiki programming rights may be inherited by inclusion","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"text":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The content of a document included using `{{include reference=\"targetdocument\"/}}` is executed with the right of the includer and not with the right of its author. This means that any user able to modify the target document can impersonate the author of the content which used the `include` macro. This vulnerability has been patched in XWiki 15.0 RC1 by making the default behavior safe.\n","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.00844,"percentile":0.55325,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-qcj3-wpgm-qpxh","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":11.07},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 1.5-milestone-2, < 15.0-rc-1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-06-24T20:32:07.791173Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-rendering-macro-include","vulnerableRanges":["<15.0-rc-1"],"patched":["15.0-rc-1"],"from":["GHSA-qcj3-wpgm-qpxh"],"provenance":"source"}],"summary":{"text":"The flaw is in XWiki Platform's xwiki-platform product, where content from a document pulled in with the include macro runs with the includer's rights rather than the author's, so the author's authority is effectively inherited by whoever includes it. An attacker with low-privilege access to the network who can edit the target document can exploit this without any user interaction, and the content that uses the include macro would then execute with the rights of the includer.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:55Z"},"euvd":{"id":"EUVD-2024-2140","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-xwiki-platform-cve-2022-36100","parents":[{"from":"CVE-2023-26056","to":"CVE-2024-38369","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-context/src/main/java/org/xwiki/rendering/internal/macro/context/ContextMacro.java"],"commits":["https://github.com/xwiki/xwiki-platform/commit/4b75f212c2dd2dfc5fb5726c7830c6dbc9a425c6","https://github.com/xwiki/xwiki-platform/commit/bd34ad6710ed72304304a3d5fec38b7cc050ef3b","https://github.com/xwiki/xwiki-platform/commit/0a4f9b026ba9931516b4e9b3019da8da838c7ac6","https://github.com/xwiki/xwiki-platform/commit/b48116a3ebe9ce928c401b5d068d4db7e7239575"],"basis":"shared function","functions":["ContextMacro"]}]},{"from":"CVE-2023-36468","to":"CVE-2024-38369","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-context/src/main/java/org/xwiki/rendering/internal/macro/context/ContextMacro.java"],"commits":["https://github.com/xwiki/xwiki-platform/commit/15a6f845d8206b0ae97f37aa092ca43d4f9d6e59","https://github.com/xwiki/xwiki-platform/commit/0a4f9b026ba9931516b4e9b3019da8da838c7ac6","https://github.com/xwiki/xwiki-platform/commit/b48116a3ebe9ce928c401b5d068d4db7e7239575"],"basis":"rarely changed file"}]}]}}