CVE-2021-32731

Source
https://cve.org/CVERecord?id=CVE-2021-32731
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32731.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-32731
Aliases
Published
2021-07-01T19:15:07.703Z
Modified
2026-07-09T10:12:07.517225Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Between (and including) versions 13.1RC1 and 13.1, the reset password form reveals the email address of users just by giving their username. The problem has been patched on XWiki 13.2RC1. As a workaround, it is possible to manually modify the resetpasswordinline.vm to perform the changes made to mitigate the vulnerability.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:xwiki:xwiki:13.1:rc1:*:*:*:*:*:*"
            ],
            "source": "CPE_STRING",
            "extracted_events": [
                {
                    "introduced": "13.1-rc1"
                },
                {
                    "last_affected": "13.1-rc1"
                },
                {
                    "introduced": "13.1-rc1"
                },
                {
                    "last_affected": "13.1-rc1"
                }
            ],
            "vendor_product": "xwiki:xwiki"
        }
    ]
}
References

Affected packages

Git / github.com/xwiki/xwiki-commons

Affected ranges

Type
GIT
Repo
https://github.com/xwiki/xwiki-commons
Events
Database specific
{
    "cpe": "cpe:2.3:a:xwiki:xwiki:13.1:-:*:*:*:*:*:*",
    "source": "CPE_STRING",
    "extracted_events": [
        {
            "introduced": "13.1-NA"
        },
        {
            "last_affected": "13.1-NA"
        }
    ]
}

Affected versions

13.*
13.1-NA
xwiki-commons-13.*
xwiki-commons-13.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32731.json"

Git / github.com/xwiki/xwiki-platform

Affected ranges

Type
GIT
Repo
https://github.com/xwiki/xwiki-platform
Events
Database specific
{
    "cpe": "cpe:2.3:a:xwiki:xwiki:13.1:-:*:*:*:*:*:*",
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "13.1-NA"
        },
        {
            "last_affected": "13.1-NA"
        }
    ]
}

Affected versions

13.*
13.1-NA
xwiki-platform-13.*
xwiki-platform-13.1

Database specific

vanir_signatures_modified
"2026-07-09T10:12:07Z"
vanir_signatures
[
    {
        "signature_type": "Function",
        "target": {
            "file": "xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-docker/src/test/it/org/xwiki/administration/test/ui/ResetPasswordIT.java",
            "function": "resetForgottenPassword"
        },
        "deprecated": false,
        "source": "https://github.com/xwiki/xwiki-platform/commit/0cf716250b3645a5974c80d8336dcdf885749dff",
        "id": "CVE-2021-32731-0ba20792",
        "signature_version": "v1",
        "digest": {
            "function_hash": "253480332439637922064987190340551045073",
            "length": 1584.0
        }
    },
    {
        "signature_type": "Line",
        "target": {
            "file": "xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-docker/src/test/it/org/xwiki/administration/test/ui/ResetPasswordIT.java"
        },
        "deprecated": false,
        "source": "https://github.com/xwiki/xwiki-platform/commit/0cf716250b3645a5974c80d8336dcdf885749dff",
        "id": "CVE-2021-32731-dab48973",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "142633199193913322929258289945061914855",
                "53316089628502520382528090005686735928",
                "106336437353265778798287279260731430602",
                "283829312753241704011924731210926140635"
            ],
            "threshold": 0.9
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32731.json"