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 made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.09% (39th 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 Learn

Learn about Improper Authorization vulnerabilities in an interactive lesson.

Start learning
  • 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 Scores

version 3.1