{"id":"CVE-2023-29522","published":"2023-04-18T23:38:22Z","modified":"2025-02-06T17:16:44Z","title":"Code injection from view right on XWiki.ClassSheet in xwiki-platform","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. Any user with view rights 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 attack works by opening a non-existing page with a name crafted to contain a dangerous payload. This issue has been patched in XWiki 14.4.8, 14.10.3 and 15.0RC1. Users are advised to upgrade. There are no known workarounds for this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01864,"percentile":0.79791,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mjw9-3f9f-jq2w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/d7e56185376641ee5d66477c6b2791ca8e85cfee","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20456","tags":["x_refsource_MISC"]}],"priority":{"score":22.9,"factors":[{"name":"EPSS percentile","points":15.96},{"name":"CVSS severity","points":6.93}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":["< 14.4.8",">= 14.5.0, < 14.10.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-02-06T17:16:32.731779Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-xclass-ui","vulnerableRanges":[">=7.0-rc-1, <14.4.8",">=14.5, <14.10.3"],"patched":["14.4.8","14.10.3"],"from":["GHSA-mjw9-3f9f-jq2w"],"provenance":"source"}],"summary":{"text":"A code injection flaw in the XWiki.ClassSheet component of xwiki-platform, the generic wiki platform that provides runtime services for applications built on it, lets content be injected through the handling of non-existing page names. An attacker who holds view rights on the wiki can exploit it by opening a non-existing page whose name is crafted to contain a dangerous payload, which allows execution of script macros such as Groovy and Python with remote code execution and unrestricted read and write access to wiki contents, with no workarounds available.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:39:48Z"},"euvd":{"id":"EUVD-2023-1356","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-xwiki-platform-cve-2023-29522","children":[{"from":"CVE-2023-29522","to":"CVE-2023-32069","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["xwiki-platform-core/xwiki-platform-xclass/xwiki-platform-xclass-ui/src/main/resources/XWiki/ClassSheet.xml"],"commits":["https://github.com/xwiki/xwiki-platform/commit/d7e56185376641ee5d66477c6b2791ca8e85cfee","https://github.com/xwiki/xwiki-platform/commit/de72760d4a3e1e9be64a10660a0c19e9534e2ec4"],"basis":"rarely changed file"}]},{"from":"CVE-2023-29522","to":"CVE-2023-45135","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/locationPicker_macros.vm"],"commits":["https://github.com/xwiki/xwiki-platform/commit/d7e56185376641ee5d66477c6b2791ca8e85cfee","https://github.com/xwiki/xwiki-platform/commit/199e27ce7016757e66fa7cea99e718044a1b639b"],"basis":"rarely changed file"}]}]}}