Skip to content

← Public intelligence

Maven package

org.xwiki.platform:xwiki-platform-index-tree-macro

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.3MavenPublished

    Velocity execution without script right through tree macro

    CVE-2023-50732 · GHSA-p5f8-qf24-24cj

    Affected
    • Maven org.xwiki.platform:xwiki-platform-index-tree-macro >= 8.3-rc-1, < 14.10.7; >= 15.0-rc-1, < 15.2-rc-1
    Fixed in
    15.2-rc-114.10.7· Vendor fix available
    Issue
    Impact It's possible to execute a Velocity script without script right through the document tree. To reproduce: As a user without script right, create a document, e.g., named Nasty Title Set the document's title to $request.requestURI Click "Save & View" Reload the page in the browser The navigation panel displays a document named with the current URL, showing that the Velocity code has been executed even though the user doesn't have script right. Patches This has been patched in XWiki 14.10.7 and 15.2RC1. Workarounds A possible workaround is to: modify the page XWiki.DocumentTreeMacros search for the code #set ($discard = $translatedDocument.setTitle($translatedDocument.title)) modify it into #set ($discard = $translatedDocument.setcomment('')) References https://jira.xwiki.org/browse/XWIKI-20625 https://github.com/xwiki/xwiki-platform/commit/41d7dca2d30084966ca6a7ee537f39ee8354a7e3 For more information If you have any questions or comments about this advisory: Open an issue in Jira…

    Recommended action: Upgrade to 15.2-rc-1 (pre-release) or 14.10.7 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →