High severityNVD Advisory· Published Dec 21, 2023· Updated Aug 2, 2024
Velocity execution without script right through tree macro
CVE-2023-50732
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. It's possible to execute a Velocity script without script right through the document tree. This has been patched in XWiki 14.10.7 and 15.2RC1.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.xwiki.platform:xwiki-platform-index-tree-macroMaven | >= 8.3-rc-1, < 14.10.7 | 14.10.7 |
org.xwiki.platform:xwiki-platform-index-tree-macroMaven | >= 15.0-rc-1, < 15.2-rc-1 | 15.2-rc-1 |
Affected products
1- Range: >= 8.3-rc-1, < 14.10.7
Patches
141d7dca2d300XWIKI-20625: Improve document title display in the document tree
1 file changed · +0 −4
xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-tree/xwiki-platform-index-tree-macro/src/main/resources/XWiki/DocumentTreeMacros.xml+0 −4 modified@@ -354,10 +354,6 @@ #if ($canViewDoc && $docTreeConfig.showDocumentTitle) ## Display the translated title. #set ($translatedDocument = $xwiki.getDocument($documentReference).translatedDocument) - ## Make sure the displayed title is not affected by the sheet request parameter (e.g. when $translatedDocument is - ## the current document). By setting the title (even if we don't change it) the internal document instance is cloned - ## so it's going to be different than the current document instance (which is the target of the sheet parameter). - #set ($discard = $translatedDocument.setTitle($translatedDocument.title)) #set ($plainTitle = $translatedDocument.plainTitle) #if (!$stringtool.isBlank($plainTitle)) #set ($label = $plainTitle)
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/advisories/GHSA-p5f8-qf24-24cjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-50732ghsaADVISORY
- github.com/xwiki/xwiki-platform/commit/41d7dca2d30084966ca6a7ee537f39ee8354a7e3ghsax_refsource_MISCWEB
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-p5f8-qf24-24cjghsax_refsource_CONFIRMWEB
- jira.xwiki.org/browse/XWIKI-20625ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.