Skip to main content

CVE-2025-66472 — Vulnerability in xwiki-platform-web-templates

MEDIUM

XWiki vulnerable to a reflected XSS via xredirect parameter in DeleteApplication

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

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.

Check my pom.xml

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.

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, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: Maven (2).

PackageFixed In
org.xwiki.platform:xwiki-platform-web-templates Maven · Affected: All versions17.4.2
org.xwiki.platform:xwiki-platform-flamingo-skin-resources Maven · Affected: All versions16.10.10
org.xwiki.platform:xwiki-platform-flamingo-skin-resources Maven · Affected: All versions17.4.2
org.xwiki.platform:xwiki-platform-web-templates Maven · Affected: All versions16.10.10

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. 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

CVSS Score
9.6

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
1.02%
EPSS percentile: 62.5

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

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-35159
    CRITICAL

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

  • CVE-2023-29207
    HIGH

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

  • CVE-2026-24128
    MEDIUM

    XWiki Affected by Reflected Cross-Site Scripting (XSS) in Error Messages

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml