Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. It's possible to execute anything with the right of the Scheduler Application sheet page. A user without script or programming rights, edit your user profile with the object editor and add a new object of type XWiki.SchedulerJobClass, In "Job Script", groovy code can be added and will be executed in the server context on viewing. This has been patched in XWiki 14.10.3 and 15.0 RC1. Users are advised to upgrade. There are no known workarounds for this issue.
Remediation
References
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-fc42-5w56-qw7h
https://jira.xwiki.org/browse/XWIKI-20295
https://jira.xwiki.org/browse/XWIKI-20462
Related Vulnerabilities
CVE-2022-45064 Vulnerability in maven package org.apache.sling:org.apache.sling.engine
CVE-2023-31718 Vulnerability in npm package @frangoteam/fuxa
CVE-2019-5479 Vulnerability in npm package larvitbase-api
CVE-2022-24614 Vulnerability in maven package com.drewnoakes:metadata-extractor
CVE-2018-14042 Vulnerability in maven package org.webjars.bowergithub.angular-ui:bootstrap