XWiki view file macro: User can view content of office file without view rights on the attachment
Moderate severity
GitHub Reviewed
Published
Nov 18, 2025
in
xwikisas/xwiki-pro-macros
•
Updated Nov 19, 2025
Package
Affected versions
<= 1.26.20
Patched versions
1.27.0
Description
Published to the GitHub Advisory Database
Nov 18, 2025
Reviewed
Nov 18, 2025
Published by the National Vulnerability Database
Nov 19, 2025
Last updated
Nov 19, 2025
Summary
A user with no view rights on a page may see the content of an office attachment displayed with the view file macro.
Details
If on a public page is displayed an office attachment from a restricted page, a user with no view rights on the restricted page can view the attachment content, no matter the display type used.
PoC
Workarounds
None
Impact
Private data can be leaked if a user knows the reference to an attachment and has edit rights on a page.
References