{"id":"CVE-2024-38369","aliases":["CVE-2024-38369","GHSA-qcj3-wpgm-qpxh"],"related":[],"kind":"vulnerability","state":"published","title":"XWiki programming rights may be inherited by inclusion","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe 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.\n\nThis means that any user able to modify the target document can impersonate the author of the content which used the `include` macro.\n\n### Patches\n\nThis has been patched in XWiki 15.0 RC1 by making the default behavior safe.\n\n### Workarounds\n\nMake sure to protect any included document to make sure only allowed users can modify it.\n\nA workaround have been provided in 14.10.2 to allow forcing to execute the included content with the target content author instead of the default behavior. See https://extensions.xwiki.org/xwiki/bin/view/Extension/Include%20Macro#HAuthor for more details.\n\n### References\n\nhttps://jira.xwiki.org/browse/XWIKI-5027\nhttps://jira.xwiki.org/browse/XWIKI-20471\n\n### For more information\nIf you have any questions or comments about this advisory:\n*    Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n*    Email us at [Security Mailing List](mailto:security@xwiki.org)","format":"markdown","source":"ghsa"},{"lang":"es","text":"XWiki Platform es una plataforma wiki genérica que ofrece servicios de ejecución para aplicaciones creadas sobre ella. El contenido de un documento incluido usando `{{include reference=\"targetdocument\"/}}` se ejecuta con el derecho del incluidor y no con el derecho de su autor. Esto significa que cualquier usuario capaz de modificar el documento de destino puede hacerse pasar por el autor del contenido que utilizó la macro \"incluir\". Esta vulnerabilidad se ha solucionado en XWiki 15.0 RC1 haciendo que el comportamiento predeterminado sea seguro.","source":"nvd"}],"published":"2024-06-24T16:39:37.695Z","modified":"2026-09-10T03:50:15.784Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":">= 1.5-milestone-2, < 15.0-rc-1","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1.5-milestone-2","fixed":"15.0-rc-1","status":"affected"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:1.5-milestone-2:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"15.0-rc-1"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-rendering-macro-include","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-macro-include","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.5","fixed":"15.0"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-qcj3-wpgm-qpxh","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38369","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/0a4f9b026ba9931516b4e9b3019da8da838c7ac6","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/b48116a3ebe9ce928c401b5d068d4db7e7239575","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/c1fb14402ce2ee569c5a8e3f1f8e64ae45dfbfb0","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/d1a84a3eea38305ff8e10ba411910c0675ac157c","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/f627abe2dc39b07ff75fe68398cc8a1bbc743ef7","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform","tags":["package"],"sources":["ghsa"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20471","tags":["web"],"sources":["ghsa"]},{"url":"https://jira.xwiki.org/browse/XWIKI-5027","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-06-24T20:32:07.791Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-38369","url":"https://www.cve.org/CVERecord?id=CVE-2024-38369","licence":"CVE Terms of Use","modified":"2024-08-02T04:04:25.248Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qcj3-wpgm-qpxh","url":"https://github.com/advisories/GHSA-qcj3-wpgm-qpxh","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:15.784Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-38369","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38369","licence":"Public domain","modified":"2026-06-17T07:40:00.510Z"}],"updatedAt":"2026-11-25T22:58:42.173Z","epss":{"score":0.00342,"percentile":0.2968,"date":"2026-12-01T12:00:22.000Z"}}