CVE-2025-65089: XWiki view file macro User Can View Content Of Vulnerability

MODERATE
Advisory Identifier: GHSA-8c52-x9w7-vc95
CVSS 6.8
CWE-862
Published
Advisory Summary

CVE-2025-65089 is a MODERATE (CVSS 6.8) user can view content of vulnerability (CWE-862: Missing Authorization) affecting XWiki view file macro libraries in the Maven ecosystem. The issue involves user can view content of office file without view rights on the attachment. Remediation is available by upgrading affected packages to version 1.27.0.

CVE-2025-65089 at a Glance

CVE Identifier CVE-2025-65089
GHSA Identifier GHSA-8c52-x9w7-vc95
Severity MODERATE
CVSS v3.1 Base Score 6.8
CWE Classification CWE-862: Missing Authorization
Affected Product XWiki view file macro
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-65089

To remediate this vulnerability, upgrade all affected XWiki view file macro dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

com.xwiki.pro:xwiki-pro-macros-ui fixed: 1.27.0
<dependency>
    <groupId>com.xwiki.pro</groupId>
    <artifactId>xwiki-pro-macros-ui</artifactId>
    <version>1.27.0</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=com.xwiki.pro

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-65089, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.xwiki.pro

Analyze the terminal output to locate any version of XWiki view file macro in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.27.0), your application is affected.

Note: The mvn dependency:tree -Dincludes=com.xwiki.pro command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In XWiki view file macro, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.

CVE-2025-65089 Affected XWiki view file macro Versions

1 component(s)
Fixed Versions:
1.27.0
Product / Package Ecosystem Affected Versions Fixed Version
com.xwiki.pro:xwiki-pro-macros-ui
Maven
< 1.27.0
1.27.0

References

Frequently Asked Questions

What is CVE-2025-65089?
CVE-2025-65089 is a security vulnerability in XWiki view file macro involving User can view content of office file without view rights on the attachment under CWE-862: Missing Authorization.
Which XWiki view file macro versions are affected?
Affected versions include releases prior to 1.27.0 across affected packages: com.xwiki.pro:xwiki-pro-macros-ui.
What version fixes CVE-2025-65089?
Upgrading to 1.27.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is xwiki-pro-macros-ui affected?
Yes, com.xwiki.pro:xwiki-pro-macros-ui is affected in releases prior to 1.27.0. Upgrade your dependency to 1.27.0 or later.
What is the CVSS score of CVE-2025-65089?
CVE-2025-65089 has a CVSS v3.1 base score of 6.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2025-65089?
CVE-2025-65089 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Maven dependencies for CVE-2025-65089?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.xwiki.pro'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8c52-x9w7-vc95",
  "modified" : "2025-11-19T18:59:58Z",
  "published" : "2025-11-18T19:02:15Z",
  "aliases" : [ "CVE-2025-65089" ],
  "summary" : "XWiki view file macro: User can view content of office file without view rights on the attachment ",
  "details" : "### Summary\nA user with no view rights on a page may see the content of an office attachment displayed with the view file macro.\n\n### Details\nIf 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.\n\n### PoC\n1. Install and activate the Pro Macros application\n2. Create a page and limit the view rights for a test user\n3. Add an attachment to the restricted page\n4. Create a new public page\n5. Add the view file macro and select the attachment from the restricted page using any display type\n6. Login as the test user with restricted view rights\n7. The user will see the content despite having no view rights\n\n### Workarounds\nNone\n\n### Impact\nPrivate data can be leaked if a user knows the reference to an attachment and has edit rights on a page.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.xwiki.pro:xwiki-pro-macros-ui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.27.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.26.20"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/xwikisas/xwiki-pro-macros/security/advisories/GHSA-8c52-x9w7-vc95"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-65089"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/xwikisas/xwiki-pro-macros"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-11-18T19:02:15Z",
    "nvd_published_at" : "2025-11-19T18:15:51Z"
  }
}