{"id":"CVE-2023-29523","summary":"Code injection in display method used in user profiles in xwiki-platform","details":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user who can edit their own user profile can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The same vulnerability can also be exploited in other contexts where the `display` method on a document is used to display a field with wiki syntax, for example in applications created using `App Within Minutes`. This has been patched in XWiki 13.10.11, 14.4.8, 14.10.2 and 15.0RC1. There is no workaround apart from upgrading.","aliases":["GHSA-x764-ff8r-9hpx"],"modified":"2026-10-28T10:35:46.223744359Z","published":"2023-04-18T23:09:46.711Z","database_specific":{"cwe_ids":["CWE-74"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/29xxx/CVE-2023-29523.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://extensions.xwiki.org/xwiki/bin/view/Extension/App%20Within%20Minutes%20Application"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-20327"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/29xxx/CVE-2023-29523.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-x764-ff8r-9hpx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29523"},{"type":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/0d547181389f7941e53291af940966413823f61c"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xwiki/xwiki-commons","events":[{"introduced":"0"},{"fixed":"8d72461ba6976af6005e2df511bdeeeb17ef2d74"},{"introduced":"491547c4f74b9be58123ef22081ae7e6840a11c7"},{"fixed":"48ee3193230753aecf8a86d7c8ff3e8f869e8330"},{"introduced":"bae1e23e73cafc007e5f28b39a04bfa0acf0199c"},{"fixed":"510f15e9cf478e71a9cb4ad0d0dbfb64e40cffe4"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"fixed":"13.10.11"}],"source":"CPE_RANGE"},{"range":[{"introduced":"14.0"},{"fixed":"14.4.8"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","range":[{"introduced":"14.5"},{"fixed":"14.10.2"}],"source":"CPE_RANGE"}]}},{"type":"GIT","repo":"https://github.com/xwiki/xwiki-platform","events":[{"introduced":"5fb867ac66be9e00fd991d320ea814a6142639be"},{"fixed":"08e0887f0362b21614e6bfcb5be7e1f568659c41"},{"introduced":"198ef99386911c0f7af11a0957092d349961e3a6"},{"fixed":"b469b950e7fe3d22f00b639d43f286bf871472b1"},{"introduced":"ab4dfeaeef13360eebcaa507bc652073aa89a427"},{"fixed":"8f86c33eaa61f634015ab3806f25f9bf0c82638d"},{"fixed":"0d547181389f7941e53291af940966413823f61c"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"3.3-milestone-1"},{"fixed":"13.10.11"}]},{"range":[{"introduced":"14.0-rc-1"},{"fixed":"14.4.8"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"strategy":"StringRangeExpression","range":[{"introduced":"14.5"},{"fixed":"14.10.1"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"0d547181389f7941e53291af940966413823f61c"}]}]}}],"versions":["xwiki-commons-14.10.1","xwiki-commons-14.10","xwiki-commons-14.4.7","xwiki-commons-13.10.10","xwiki-commons-14.4.6","xwiki-commons-14.4.5","xwiki-commons-14.4.4","xwiki-commons-13.10.9","xwiki-commons-14.4.3","xwiki-commons-13.10.8","xwiki-commons-14.4.2","xwiki-commons-13.10.7","xwiki-commons-14.4.1","xwiki-commons-13.10.6","xwiki-commons-14.4","xwiki-commons-14.4-rc-1","xwiki-commons-13.10.5","xwiki-commons-13.10.4","xwiki-commons-13.10.3","xwiki-commons-13.10.2","xwiki-commons-13.10.1","xwiki-commons-13.10","xwiki-commons-13.10-rc-1","xwiki-commons-8.3-milestone-2","xwiki-commons-8.3-milestone-1","xwiki-commons-8.2-milestone-2","xwiki-commons-8.2-milestone-1","xwiki-commons-8.1-milestone-2","xwiki-commons-8.1-milestone-1","xwiki-commons-8.0-milestone-2","xwiki-commons-8.0-milestone-1"],"database_specific":{"vanir_signatures":[{"source":"https://github.com/xwiki/xwiki-platform/commit/0d547181389f7941e53291af940966413823f61c","target":{"file":"xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/doc/XWikiDocumentTest.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["160258715351561524099411311949477386857","334635807152148023124967054116257458463","141779487118000121683214597451800432296","29857647096910852769965600898458240744","280708212300279667577041303880553768380","235136313448114561852086488905968484078","265535608108108526569533214161046225520","37520875650487889517891421747570028665","108240220442810171321900049935307398990","96452752508865824010937162312972795496","325248801660588982275128914670399756774","79445039680511069717967345730838797827","189199857176627080172497317961705198563","156451616823530411402441678153810919947","128628846061880276092930253210107079729"]},"id":"CVE-2023-29523-14959d2d","signature_type":"Line","signature_version":"v1"},{"deprecated":false,"digest":{"line_hashes":["284970338027858490717877903729357353528","74379901260029110386572668141458163705","142845750865572960963502076416886177375","105371122161035115394767535889095704285","331725971021626439691868223923570282152","247879200537711947445917158702877384534","78882185821326494069502262392383003182","142458766737468721429729255259335103693","337342843792019403762377487663425579502"],"threshold":0.9},"id":"CVE-2023-29523-836d4ff7","signature_type":"Line","signature_version":"v1","source":"https://github.com/xwiki/xwiki-platform/commit/0d547181389f7941e53291af940966413823f61c","target":{"file":"xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/XWikiDocument.java"}},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/xwiki/xwiki-platform/commit/0d547181389f7941e53291af940966413823f61c","target":{"file":"xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/XWikiDocument.java","function":"display"},"deprecated":false,"digest":{"function_hash":"335625953732406887292446145768863669989","length":3141},"id":"CVE-2023-29523-b35eaec4"}],"vanir_signatures_modified":"2026-10-28T10:35:46Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-29523.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}