Loading...
Skip to main content

CVE-2025-66472

MEDIUM

XWiki vulnerable to a reflected XSS via xredirect parameter in DeleteApplication

Published December 10, 2025Updated December 11, 2025Source: osv

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](https://github.com/xwiki/xwiki-platform/commit/cb578b1b2910d06e9dd7581077072d1cfbd280f2) 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.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.xwiki.platform:xwiki-platform-web-templates to 17.4.2 or later
<!-- Update pom.xml dependency version to 17.4.2 for org.xwiki.platform:xwiki-platform-web-templates -->
Maven
Update org.xwiki.platform:xwiki-platform-flamingo-skin-resources to 16.10.10 or later
<!-- Update pom.xml dependency version to 16.10.10 for org.xwiki.platform:xwiki-platform-flamingo-skin-resources -->
Maven
Update org.xwiki.platform:xwiki-platform-flamingo-skin-resources to 17.4.2 or later
<!-- Update pom.xml dependency version to 17.4.2 for org.xwiki.platform:xwiki-platform-flamingo-skin-resources -->
Maven
Update org.xwiki.platform:xwiki-platform-web-templates to 16.10.10 or later
<!-- Update pom.xml dependency version to 16.10.10 for org.xwiki.platform:xwiki-platform-web-templates -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
P
Scope
Confidentiality
Integrity
Availability

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

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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-66472 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.6

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-7vpr-jm38-wr7w

Related CVEs

  • CVE-2024-41947
    CRITICAL

    XWiki Platform vulnerable to Cross-Site Scripting (XSS) through conflict resolution

  • CVE-2023-35156
    CRITICAL

    XWiki Platform vulnerable to reflected cross-site scripting via xredirect parameter in delete template

  • CVE-2023-45137
    CRITICAL

    XWiki Platform vulnerable to XSS with edit right in the create document form for existing pages

  • CVE-2023-34464
    CRITICAL

    XWiki vulnerable to stored cross-site scripting via any wiki document and the displaycontent/rendercontent template

  • CVE-2023-45135
    CRITICAL

    XWiki users can be tricked to execute scripts as the create page action doesn't display the page's title

  • CVE-2023-45134
    CRITICAL

    XWiki Platform XSS vulnerability from account in the create page form via template provider

  • CVE-2023-29512
    CRITICAL

    xwiki-platform-web-templates vulnerable to Eval Injection

  • CVE-2023-29207
    HIGH

    Improper Neutralization of Script-Related HTML Tags (XSS) in the LiveTable Macro

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies