VYPR
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.

PackageAffected versionsPatched versions
org.xwiki.platform:xwiki-platform-index-tree-macroMaven
>= 8.3-rc-1, < 14.10.714.10.7
org.xwiki.platform:xwiki-platform-index-tree-macroMaven
>= 15.0-rc-1, < 15.2-rc-115.2-rc-1

Affected products

1

Patches

1
41d7dca2d300

XWIKI-20625: Improve document title display in the document tree

https://github.com/xwiki/xwiki-platformThomas MortagneMar 8, 2023via ghsa
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 &amp;&amp; $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

News mentions

0

No linked articles in our index yet.