Improper Authorization Affecting org.xwiki.platform:xwiki-platform-index-tree-macro package, versions [8.3-rc-1,14.10.7)[15.0-rc-1,15.2-rc-1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.49% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGXWIKIPLATFORM-6132320
  • published20 Dec 2023
  • disclosed19 Dec 2023
  • creditUnknown

Introduced: 19 Dec 2023

CVE-2023-50732  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade org.xwiki.platform:xwiki-platform-index-tree-macro to version 14.10.7, 15.2-rc-1 or higher.

Overview

org.xwiki.platform:xwiki-platform-index-tree-macro is a macro used to display a hierarchy of XWiki documents by using a tree.

Affected versions of this package are vulnerable to Improper Authorization. An attacker can execute Velocity scripts without the required permissions by manipulating the document title in a crafted document.

Workaround

A possible workaround is to modify the page XWiki.DocumentTreeMacros, search for the code #set ($discard = $translatedDocument.setTitle($translatedDocument.title)), and change it to #set ($discard = $translatedDocument.setcomment(''))

CVSS Base Scores

version 3.1