| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|---|---|
| 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:
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí