CVE-2021-32620: Xwiki commons core XWiki Users Registered With Email Vulnerability
HIGHCVE-2021-32620 is a HIGH (CVSS 8.1) xwiki users registered with email vulnerability (CWE-285: Improper Authorization) affecting Xwiki commons core libraries in the Maven ecosystem. The issue involves xwiki users registered with email verification can self re-activate their disabled accounts. Remediation is available by upgrading affected packages to version 11.10.13, 12.6.7, 12.10.2.
CVE-2021-32620 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2021-32620
To remediate this vulnerability, upgrade all affected Xwiki commons core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-core</artifactId>
<version>11.10.13</version>
</dependency>
<dependency>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-core</artifactId>
<version>12.6.7</version>
</dependency>
<dependency>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-core</artifactId>
<version>12.10.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.xwiki.commons
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2021-32620, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.xwiki.commons
Analyze the terminal output to locate any version of Xwiki commons core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 11.10.13), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.xwiki.commons 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-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In Xwiki commons core, 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
CVE-2021-32620 Affected Xwiki commons core Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.xwiki.commons:xwiki-commons-core
|
Maven |
≥ 11.6
< 11.10.13
|
11.10.13
|
|
org.xwiki.commons:xwiki-commons-core
|
Maven |
≥ 12.0
< 12.6.7
|
12.6.7
|
|
org.xwiki.commons:xwiki-commons-core
|
Maven |
≥ 12.10.0
< 12.10.2
|
12.10.2
|
References
Frequently Asked Questions
What is CVE-2021-32620?
Which Xwiki commons core versions are affected?
What version fixes CVE-2021-32620?
Is xwiki-commons-core affected?
What is the CVSS score of CVE-2021-32620?
What CWE is associated with CVE-2021-32620?
How can I check Maven dependencies for CVE-2021-32620?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-76mp-659p-rw65",
"modified" : "2025-01-22T17:40:11Z",
"published" : "2021-05-18T18:36:21Z",
"aliases" : [ "CVE-2021-32620" ],
"summary" : "XWiki users registered with email verification can self re-activate their disabled accounts",
"details" : "### Impact\nA user disabled on a wiki using email verification for registration can re-activate himself by using the activation link provided for his registration. \n\n### Patches\nThe problem has been patched in the following versions of XWiki: 11.10.13, 12.6.7, 12.10.2, 13.0.\n\n### Workarounds\nIt's possible to workaround the issue by resetting the `validkey` property of the disabled XWiki users. This can be done by editing the user profile with object editor.\n\n### References\nhttps://jira.xwiki.org/browse/XWIKI-17942\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira](http://jira.xwiki.org)\n* Email us at [Security mailing-list](mailto:security@xwiki.org)\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.commons:xwiki-commons-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.6"
}, {
"fixed" : "11.10.13"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.commons:xwiki-commons-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.0"
}, {
"fixed" : "12.6.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.commons:xwiki-commons-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.10.0"
}, {
"fixed" : "12.10.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-76mp-659p-rw65"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-32620"
}, {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/commit/f9a677408ffb06f309be46ef9d8df1915d9099a4"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/xwiki/xwiki-commons"
}, {
"type" : "WEB",
"url" : "https://jira.xwiki.org/browse/XWIKI-17942"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-285", "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-18T16:36:02Z",
"nvd_published_at" : "2021-05-28T21:15:00Z"
}
}