ghsa-8c52-x9w7-vc95
Vulnerability from github
Published
2025-11-18 19:02
Modified
2025-11-19 18:59
Summary
XWiki view file macro: User can view content of office file without view rights on the attachment
Details

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.

Show details on source website


{
  "affected": [
    {
      "database_specific": {
        "last_known_affected_version_range": "\u003c= 1.26.20"
      },
      "package": {
        "ecosystem": "Maven",
        "name": "com.xwiki.pro:xwiki-pro-macros-ui"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.27.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2025-65089"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-862"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-11-18T19:02:15Z",
    "nvd_published_at": "2025-11-19T18:15:51Z",
    "severity": "MODERATE"
  },
  "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.",
  "id": "GHSA-8c52-x9w7-vc95",
  "modified": "2025-11-19T18:59:58Z",
  "published": "2025-11-18T19:02:15Z",
  "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"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "XWiki view file macro: User can view content of office file without view rights on the attachment "
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…