{"id":"GHSA-px54-3w5j-qjg9","summary":"XWiki Platform vulnerable to privilege escalation from view right using Invitation.InvitationCommon","details":"### Impact\nAny user with view rights can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping of `Invitation.InvitationCommon`. This page is installed by default.\n\nSee https://jira.xwiki.org/browse/XWIKI-20283 for the reproduction steps.\n\n### Patches\nThe vulnerability has been patched in XWiki 15.0-rc-1, 14.10.1, 14.4.8, and 13.10.11.\n\n### Workarounds\nThe issue can be fixed by applying this [patch](https://github.com/xwiki/xwiki-platform/commit/3d055a0a5ec42fdebce4d71ee98f94553fdbfebf) on `Invitation.InvitationCommon`.\n\n### References\n- https://github.com/xwiki/xwiki-platform/commit/3d055a0a5ec42fdebce4d71ee98f94553fdbfebf\n- https://jira.xwiki.org/browse/XWIKI-20283\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n*    Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n*    Email us at [Security Mailing List](mailto:security@xwiki.org)","aliases":["CVE-2023-29518"],"modified":"2023-11-01T05:01:50.516050Z","published":"2023-04-20T22:04:00Z","database_specific":{"github_reviewed_at":"2023-04-20T22:04:00Z","nvd_published_at":"2023-04-19T00:15:08Z","cwe_ids":["CWE-74"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-px54-3w5j-qjg9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29518"},{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/commit/3d055a0a5ec42fdebce4d71ee98f94553fdbfebf"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-20283"}],"affected":[{"package":{"name":"org.xwiki.platform:xwiki-platform-invitation-ui","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-invitation-ui"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5-m-1"},{"fixed":"13.10.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-px54-3w5j-qjg9/GHSA-px54-3w5j-qjg9.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-invitation-ui","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-invitation-ui"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0-rc-1"},{"fixed":"14.4.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-px54-3w5j-qjg9/GHSA-px54-3w5j-qjg9.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-invitation-ui","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-invitation-ui"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.5"},{"fixed":"14.10.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-px54-3w5j-qjg9/GHSA-px54-3w5j-qjg9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}