| Package | Affected versions | Patched versions |
|---|---|---|
| org.xwiki.platform:xwiki-platform-index-tree-macro | ≥ 15.0-rc-1, < 15.2-rc-1≥ 8.3-rc-1, < 14.10.7 | 15.2-rc-114.10.7 |
| xwiki | ≥ 15.0, < 15.2≥ 8.3, < 14.10.7 | 15.214.10.7 |
It's possible to execute a Velocity script without script right through the document tree.
To reproduce:
$request.requestURIThe 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.
This has been patched in XWiki 14.10.7 and 15.2RC1.
A possible workaround is to:
#set ($discard = $translatedDocument.setTitle($translatedDocument.title))#set ($discard = $translatedDocument.setcomment(''))If you have any questions or comments about this advisory:
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free