CVE-2025-66472 — xwiki-platform-flamingo-s…
Fix: xwiki/xwiki-platform@cb578b1CVE-2025-66472 is a Cross-site Scripting (XSS) vulnerability in org.xwiki.platform:xwiki-platform-flamingo-skin-resources. A fix is available for org.xwiki.platform:xwiki-platform-flamingo-skin-resources — see the affected versions and patch details below.
XWiki vulnerable to a reflected XSS via xredirect parameter in DeleteApplication
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2025-66472.
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Real-World Exposure
org.xwiki.platform:xwiki-platform-flamingo-skin-resources☕org.xwiki.platform:xwiki-platform-flamingo-skin-resources☕org.xwiki.platform:xwiki-platform-web-templates☕org.xwiki.platform:xwiki-platform-web-templatesReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.xwiki.platform:xwiki-platform-flamingo-skin-resources | ≥ 6.2-milestone-1&&< 16.10.10 | 16.10.10org.xwiki.platform:xwiki-platform-flamingo-skin-resources:16.10.10 |
| ☕Maven | org.xwiki.platform:xwiki-platform-flamingo-skin-resources | ≥ 17.0.0-rc-1&&< 17.4.2 | 17.4.2org.xwiki.platform:xwiki-platform-flamingo-skin-resources:17.4.2 |
| ☕Maven | org.xwiki.platform:xwiki-platform-web-templates | ≥ 6.2-milestone-1&&< 16.10.10 | 16.10.10org.xwiki.platform:xwiki-platform-web-templates:16.10.10 |
| ☕Maven | org.xwiki.platform:xwiki-platform-web-templates | ≥ 17.0.0-rc-1&&< 17.4.2 | 17.4.2org.xwiki.platform:xwiki-platform-web-templates:17.4.2 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.xwiki.platform:xwiki-platform-flamingo-skin-resources, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.xwiki.platform:xwiki-platform-flamingo-skin-resources to 16.10.10 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-66472 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2025-66472 can be triaged on real exposure rather than presence alone.
Tailored to CVE-2025-66472. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
How to detect CVE-2025-66472
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2025-66472 -u https://target- Template
- XWiki DeleteApplication - Cross-Site Scripting
- Severity
- medium
- 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.
Template by ProjectDiscovery nuclei-templates (ritikchaddha), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2025-66472 in your dependencies?
O3 Security finds CVE-2025-66472 across Maven dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.