CVE-2025-65089: XWiki view file macro: User can view content of office file without view rights on the attachment
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 1. Install and activate the Pro Macros application 2. Create a page and limit the view rights for a test user 3. Add an attachment to the restricted page 4. Create a new public page 5. Add the view file macro and select the attachment from the restricted page using any display type 6. Login as the test user with restricted view rights 7. The user will see the content despite having no view rights
Workarounds None
Impact Private data can be leaked if a user knows the reference to an attachment and has edit rights on a page.
Other sources
XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Prior to version 1.27.0, a user with no view rights on a page may see the content of an office attachment displayed with the view file macro. This issue has been patched in version 1.27.0.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-65089?
CVE-2025-65089 is a medium severity vulnerability that allows unauthorized users to view the content of office attachments from restricted pages.
How do I fix CVE-2025-65089?
To fix CVE-2025-65089, upgrade to version 1.27.0 or later of the com.xwiki.pro:xwiki-pro-macros-ui package.
Who is affected by CVE-2025-65089?
Users of version 1.26.20 or earlier of the com.xwiki.pro:xwiki-pro-macros-ui package are affected by CVE-2025-65089.
What impact does CVE-2025-65089 have?
CVE-2025-65089 may lead to unauthorized access to sensitive information contained in office attachments.
Is there a workaround for CVE-2025-65089?
Currently, a workaround for CVE-2025-65089 is not provided, and upgrading is the recommended action.