CVE-2025-66472 — Vulnerability in xwiki-platform-web-templates
XWiki vulnerable to a reflected XSS via xredirect parameter in DeleteApplication
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.02%). Schedule for your next planned update.
Does your project use an affected org.xwiki.platform:xwiki-platform-web-templates version?
Paste your pom.xml to check it for CVE-2025-66472 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
A reflected XSS vulnerability in XWiki allows an attacker to send a victim to a URL with a deletion confirmation message on which the attacker-supplied script is executed when the victim clicks the "No" button. When the victim has admin or programming right, this allows the attacker to execute basically arbitrary actions on the XWiki installation including remote code execution.
Patches
This vulnerability has been patched in XWiki 16.10.10, 17.4.2 and 17.5.0 by using the affected URL parameter only in the intended context.
Workarounds
The patch can be manually applied to the templates that are present in the WAR. A restart of XWiki is needed for the changes to be applied.
Advisory Timeline
- First published December 10, 2025 (351 days ago).
- Last revised December 11, 2025 — 1 day after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 17.4.2 for org.xwiki.platform:xwiki-platform-web-templates -->
<!-- Update pom.xml dependency version to 16.10.10 for org.xwiki.platform:xwiki-platform-flamingo-skin-resources -->
<!-- Update pom.xml dependency version to 17.4.2 for org.xwiki.platform:xwiki-platform-flamingo-skin-resources -->
<!-- Update pom.xml dependency version to 16.10.10 for org.xwiki.platform:xwiki-platform-web-templates -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Maven (2).
| Package | Fixed In |
|---|---|
| org.xwiki.platform:xwiki-platform-web-templates Maven · Affected: All versions | 17.4.2 |
| org.xwiki.platform:xwiki-platform-flamingo-skin-resources Maven · Affected: All versions | 16.10.10 |
| org.xwiki.platform:xwiki-platform-flamingo-skin-resources Maven · Affected: All versions | 17.4.2 |
| org.xwiki.platform:xwiki-platform-web-templates Maven · Affected: All versions | 16.10.10 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
- CWE-80
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7vpr-jm38-wr7wWEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-66472ADVISORY
- https://github.com/xwiki/xwiki-platform/commit/cb578b1b2910d06e9dd7581077072d1cfbd280f2WEB
- https://github.com/xwiki/xwiki-platformPACKAGE
- https://jira.xwiki.org/browse/XWIKI-23244WEB
Frequently Asked Questions
- What is CVE-2025-66472?
- XWiki vulnerable to a reflected XSS via xredirect parameter in DeleteApplication. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 9.6/10).
- How do I check if my project is affected by CVE-2025-66472?
- CVE-2025-66472 affects org.xwiki.platform:xwiki-platform-web-templates and org.xwiki.platform:xwiki-platform-flamingo-skin-resources. It has a 1.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-66472 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 62.5% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2024-41947CRITICAL
XWiki Platform vulnerable to Cross-Site Scripting (XSS) through conflict resolution
- CVE-2023-35156CRITICAL
XWiki Platform vulnerable to reflected cross-site scripting via xredirect parameter in delete template
- CVE-2023-45137CRITICAL
XWiki Platform vulnerable to XSS with edit right in the create document form for existing pages
- CVE-2023-34464CRITICAL
XWiki vulnerable to stored cross-site scripting via any wiki document and the displaycontent/rendercontent template
- CVE-2023-45135CRITICAL
XWiki users can be tricked to execute scripts as the create page action doesn't display the page's title
- CVE-2023-35159CRITICAL
XWiki Platform vulnerable to reflected cross-site scripting via xredirect parameter in deletespace template
- CVE-2023-29207HIGH
Improper Neutralization of Script-Related HTML Tags (XSS) in the LiveTable Macro
- CVE-2026-24128MEDIUM
XWiki Affected by Reflected Cross-Site Scripting (XSS) in Error Messages