Vulnerabilities in pkg:maven/com.xwiki.pro/xwiki-pro-macros-ui
PACKAGECVE-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.
pkg:maven/com.xwiki.pro/xwiki-pro-macros-ui
Vulnerability advisories affecting package pkg:maven/com.xwiki.pro/xwiki-pro-macros-ui. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-8c52-x9w7-vc95 | CVE-2025-65089 | MODERATE | XWiki view file macro: User can view content of office file without view rights on the attachment |
CVE-2025-65089 at a Glance
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).
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.
<dependency>
<groupId>com.xwiki.pro</groupId>
<artifactId>xwiki-pro-macros-ui</artifactId>
<version>1.27.0</version>
</dependency>
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
CVE-2025-65089 Affected XWiki view file macro Versions
1 component(s)| 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?
Which XWiki view file macro versions are affected?
What version fixes CVE-2025-65089?
Is xwiki-pro-macros-ui affected?
What is the CVSS score of CVE-2025-65089?
What CWE is associated with CVE-2025-65089?
How can I check Maven dependencies for CVE-2025-65089?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}