Vulnerabilities in pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources

PACKAGE
Advisory Identifier: GHSA-7vpr-jm38-wr7w
Advisory Summary

CVE-2025-66472 is a MODERATE cross-site scripting vulnerability (CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)) affecting Xwiki platform flamingo skin resources libraries in the Maven ecosystem. The issue involves xwiki vulnerable to a reflected xss via xredirect parameter in deleteapplication. Remediation is available by upgrading affected packages to version 16.10.10, 17.4.2.

6 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources

6 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-7vpr-jm38-wr7w CVE-2025-66472 MODERATE XWiki vulnerable to a reflected XSS via xredirect parameter in DeleteApplication
GHSA-j9rc-w3wv-fv62 CVE-2023-46732 CRITICAL XWiki Platform vulnerable to reflected cross-site scripting through revision parameter in content menu
GHSA-q9hg-9qj2-mxf9 CVE-2023-35162 CRITICAL XWiki Platform vulnerable to cross-site scripting via xcontinue parameter in previewactions template
GHSA-834c-x29c-f42c CVE-2023-35156 CRITICAL XWiki Platform vulnerable to reflected cross-site scripting via xredirect parameter in delete template
GHSA-mwxj-g7fw-7hc8 CVE-2023-35158 CRITICAL XWiki Platform vulnerable to reflected cross-site scripting via xredirect parameter in restore template
GHSA-6vgh-9r3c-2cxp CVE-2023-29207 HIGH Improper Neutralization of Script-Related HTML Tags (XSS) in the LiveTable Macro

CVE-2025-66472 at a Glance

CVE Identifier CVE-2025-66472
GHSA Identifier GHSA-7vpr-jm38-wr7w
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Affected Product Xwiki platform flamingo skin resources
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-66472

To remediate this vulnerability, upgrade all affected Xwiki platform flamingo skin resources dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.xwiki.platform:xwiki-platform-flamingo-skin-resources fixed: 16.10.10
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-flamingo-skin-resources</artifactId>
    <version>16.10.10</version>
</dependency>
org.xwiki.platform:xwiki-platform-flamingo-skin-resources fixed: 17.4.2
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-flamingo-skin-resources</artifactId>
    <version>17.4.2</version>
</dependency>
org.xwiki.platform:xwiki-platform-web-templates fixed: 16.10.10
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-web-templates</artifactId>
    <version>16.10.10</version>
</dependency>
org.xwiki.platform:xwiki-platform-web-templates fixed: 17.4.2
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-web-templates</artifactId>
    <version>17.4.2</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.xwiki.platform

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-66472, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.xwiki.platform

Analyze the terminal output to locate any version of Xwiki platform flamingo skin resources in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 16.10.10), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.xwiki.platform command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS), where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages. In Xwiki platform flamingo skin resources, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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

CVE-2025-66472 Affected Xwiki platform flamingo skin resources Versions

4 component(s)
Fixed Versions:
16.10.1017.4.2
Product / Package Ecosystem Affected Versions Fixed Version
org.xwiki.platform:xwiki-platform-flamingo-skin-resources
Maven
≥ 6.2-milestone-1
< 16.10.10
16.10.10
org.xwiki.platform:xwiki-platform-flamingo-skin-resources
Maven
≥ 17.0.0-rc-1
< 17.4.2
17.4.2
org.xwiki.platform:xwiki-platform-web-templates
Maven
≥ 6.2-milestone-1
< 16.10.10
16.10.10
org.xwiki.platform:xwiki-platform-web-templates
Maven
≥ 17.0.0-rc-1
< 17.4.2
17.4.2

References

Frequently Asked Questions

What is CVE-2025-66472?
CVE-2025-66472 is a security vulnerability in Xwiki platform flamingo skin resources involving XWiki vulnerable to a reflected XSS via xredirect parameter in DeleteApplication under CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS).
Which Xwiki platform flamingo skin resources versions are affected?
Affected versions include releases prior to 16.10.10, 17.4.2 across affected packages: org.xwiki.platform:xwiki-platform-flamingo-skin-resources, org.xwiki.platform:xwiki-platform-web-templates.
What version fixes CVE-2025-66472?
Upgrading to 16.10.10, 17.4.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is xwiki-platform-flamingo-skin-resources affected?
Yes, org.xwiki.platform:xwiki-platform-flamingo-skin-resources is affected in releases prior to 16.10.10, 17.4.2. Upgrade your dependency to 16.10.10, 17.4.2 or later.
Is xwiki-platform-web-templates affected?
Yes, org.xwiki.platform:xwiki-platform-web-templates is affected in releases prior to 16.10.10, 17.4.2. Upgrade your dependency to 16.10.10, 17.4.2 or later.
What CWE is associated with CVE-2025-66472?
CVE-2025-66472 is classified under CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) (The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.).
How can I check Maven dependencies for CVE-2025-66472?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.xwiki.platform'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7vpr-jm38-wr7w",
  "modified" : "2025-12-11T15:47:39Z",
  "published" : "2025-12-10T15:46:48Z",
  "aliases" : [ "CVE-2025-66472" ],
  "summary" : "XWiki vulnerable to a reflected XSS via xredirect parameter in DeleteApplication",
  "details" : "### Impact\nA 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.\n\n### Patches\nThis 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.\n\n### Workarounds\nThe [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.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-flamingo-skin-resources"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.2-milestone-1"
      }, {
        "fixed" : "16.10.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-flamingo-skin-resources"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "17.0.0-rc-1"
      }, {
        "fixed" : "17.4.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-web-templates"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.2-milestone-1"
      }, {
        "fixed" : "16.10.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-web-templates"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "17.0.0-rc-1"
      }, {
        "fixed" : "17.4.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7vpr-jm38-wr7w"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-66472"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/xwiki/xwiki-platform/commit/cb578b1b2910d06e9dd7581077072d1cfbd280f2"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/xwiki/xwiki-platform"
  }, {
    "type" : "WEB",
    "url" : "https://jira.xwiki.org/browse/XWIKI-23244"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79", "CWE-80" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-10T15:46:48Z",
    "nvd_published_at" : "2025-12-10T22:16:27Z"
  }
}