Vulnerabilities in pkg:maven/org.xwiki.platform/xwiki-platform-security-authentication-ui

PACKAGE
Advisory Identifier: GHSA-f9c6-2f9p-82jj
Advisory Summary

CVE-2025-46557 is a HIGH any user with view access vulnerability (CWE-862: Missing Authorization) affecting Xwiki platform security authentication ui libraries in the Maven ecosystem. The issue involves any user with view access to the xwiki space can change the authenticator. Remediation is available by upgrading affected packages to version 15.10.14, 16.4.6, 16.10.0-rc-1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.xwiki.platform/xwiki-platform-security-authentication-ui

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.xwiki.platform/xwiki-platform-security-authentication-ui. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-f9c6-2f9p-82jj CVE-2025-46557 HIGH Any user with view access to the XWiki space can change the authenticator

CVE-2025-46557 at a Glance

CVE Identifier CVE-2025-46557
GHSA Identifier GHSA-f9c6-2f9p-82jj
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-862: Missing Authorization
Affected Product Xwiki platform security authentication ui
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-46557

To remediate this vulnerability, upgrade all affected Xwiki platform security authentication ui 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-security-authentication-ui fixed: 15.10.14
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-security-authentication-ui</artifactId>
    <version>15.10.14</version>
</dependency>
org.xwiki.platform:xwiki-platform-security-authentication-ui fixed: 16.4.6
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-security-authentication-ui</artifactId>
    <version>16.4.6</version>
</dependency>
org.xwiki.platform:xwiki-platform-security-authentication-ui fixed: 16.10.0-rc-1
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-security-authentication-ui</artifactId>
    <version>16.10.0-rc-1</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-46557, 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 security authentication ui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 15.10.14), 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-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Xwiki platform security authentication ui, 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 user who can access pages located in the XWiki space (by default, anyone) can access the page `XWiki.Authentication.Administration` and (unless an authenticator is set in `xwiki.cfg`) switch to another installed authenticator. Note that, by default, there is only one authenticator available (`Standard XWiki Authenticator`). So, if no authenticator extension was installed, it's not really possible to do anything for an attacker. Also, in most cases, if you have installed and are using an SSO authenticator (like OIDC or LDAP for example), the worst an attacker can do is break authentication by switching back to the standard authenticator (that's because it's impossible to login to a user which does not have a stored password, and that's usually what SSO authenticator produce). ### Patches This has been patched in XWiki 15.10.9 and XWiki 16.3.0RC1. ### Workarounds You can very easily fix this vulnerability in your instance through right configuration: * access the page and children right administration of the page `XWiki.Authentication` (`https://myhost/xwiki/bin/admin/XWiki/Authentication/WebPreferences?editor=spaceadmin&section=PageAndChildrenRights&space=XWiki.Authentication#|t=usersandgroupstable&p=1&l=10&uorg=groups&wiki=local&clsname=XWiki.XWikiGlobalRights`) * make sure only admin user have the VIEW right ### References https://jira.xwiki.org/browse/XWIKI-22604 https://github.com/xwiki/xwiki-platform/commit/5efc31cea1501c9a5cb593566fea8b558ff32a2a ### For more information If you have any questions or comments about this advisory: * Open an issue in [Jira XWiki.org](https://jira.xwiki.org/) * Email us at [Security Mailing List](mailto:security@xwiki.org)

CVE-2025-46557 Affected Xwiki platform security authentication ui Versions

3 component(s)
Fixed Versions:
15.10.1416.4.616.10.0-rc-1
Product / Package Ecosystem Affected Versions Fixed Version
org.xwiki.platform:xwiki-platform-security-authentication-ui
Maven
≥ 15.3-rc-1
< 15.10.14
15.10.14
org.xwiki.platform:xwiki-platform-security-authentication-ui
Maven
≥ 16.0.0-rc-1
< 16.4.6
16.4.6
org.xwiki.platform:xwiki-platform-security-authentication-ui
Maven
≥ 16.5.0-rc-1
< 16.10.0-rc-1
16.10.0-rc-1

References

Frequently Asked Questions

What is CVE-2025-46557?
CVE-2025-46557 is a security vulnerability in Xwiki platform security authentication ui involving Any user with view access to the XWiki space can change the authenticator under CWE-862: Missing Authorization.
Which Xwiki platform security authentication ui versions are affected?
Affected versions include releases prior to 15.10.14, 16.4.6, 16.10.0-rc-1 across affected packages: org.xwiki.platform:xwiki-platform-security-authentication-ui.
What version fixes CVE-2025-46557?
Upgrading to 15.10.14, 16.4.6, 16.10.0-rc-1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is xwiki-platform-security-authentication-ui affected?
Yes, org.xwiki.platform:xwiki-platform-security-authentication-ui is affected in releases prior to 15.10.14, 16.4.6, 16.10.0-rc-1. Upgrade your dependency to 15.10.14, 16.4.6, 16.10.0-rc-1 or later.
What CWE is associated with CVE-2025-46557?
CVE-2025-46557 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Maven dependencies for CVE-2025-46557?
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-f9c6-2f9p-82jj",
  "modified" : "2025-05-01T13:30:33Z",
  "published" : "2025-04-30T16:51:53Z",
  "aliases" : [ "CVE-2025-46557" ],
  "summary" : "Any user with view access to the XWiki space can change the authenticator",
  "details" : "### Impact\n\nA user who can access pages located in the XWiki space (by default, anyone) can access the page `XWiki.Authentication.Administration` and (unless an authenticator is set in `xwiki.cfg`) switch to another installed authenticator.\n\nNote that, by default, there is only one authenticator available (`Standard XWiki Authenticator`). So, if no authenticator extension was installed, it's not really possible to do anything for an attacker.\n\nAlso, in most cases, if you have installed and are using an SSO authenticator (like OIDC or LDAP for example), the worst an attacker can do is break authentication by switching back to the standard authenticator (that's because it's impossible to login to a user which does not have a stored password, and that's usually what SSO authenticator produce).\n\n### Patches\n\nThis has been patched in XWiki 15.10.9 and XWiki 16.3.0RC1.\n\n### Workarounds\n\nYou can very easily fix this vulnerability in your instance through right configuration:\n* access the page and children right administration of the page `XWiki.Authentication` (`https://myhost/xwiki/bin/admin/XWiki/Authentication/WebPreferences?editor=spaceadmin&section=PageAndChildrenRights&space=XWiki.Authentication#|t=usersandgroupstable&p=1&l=10&uorg=groups&wiki=local&clsname=XWiki.XWikiGlobalRights`)\n* make sure only admin user have the VIEW right\n\n### References\n\nhttps://jira.xwiki.org/browse/XWIKI-22604\nhttps://github.com/xwiki/xwiki-platform/commit/5efc31cea1501c9a5cb593566fea8b558ff32a2a\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-security-authentication-ui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.3-rc-1"
      }, {
        "fixed" : "15.10.14"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-security-authentication-ui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "16.0.0-rc-1"
      }, {
        "fixed" : "16.4.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-security-authentication-ui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "16.5.0-rc-1"
      }, {
        "fixed" : "16.10.0-rc-1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-f9c6-2f9p-82jj"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-46557"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/xwiki/xwiki-platform/commit/5efc31cea1501c9a5cb593566fea8b558ff32a2a"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/xwiki/xwiki-platform"
  }, {
    "type" : "WEB",
    "url" : "https://jira.xwiki.org/browse/XWIKI-22604"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-30T16:51:53Z",
    "nvd_published_at" : "2025-04-30T19:15:55Z"
  }
}