Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-32731

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-32731
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:06 UTC · Revision 1

Source evidence

CVE-2021-32731

core-osv · Original source

Published 1 Jul 2021, 19:15 UTC

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.

osv:CVE-2021-32731
Complete source record
{
  "id": "81a826636745d21f9d4f1224646e63f3810a10a7e67d44183ee2cb0e705c0abe",
  "url": "https://osv.dev/vulnerability/CVE-2021-32731",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-32731",
    "summary": "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.",
    "evidence": "osv:CVE-2021-32731",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-32731",
      "aliases": [
        "CVE-2021-32731",
        "GHSA-h4m4-pgp4-whgm"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/xwiki/xwiki-commons",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1d2a35bb2773fe8b68f16a65c440beb65b3a49bf"
                },
                {
                  "last_affected": "1d2a35bb2773fe8b68f16a65c440beb65b3a49bf"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:13.1:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "13.1-NA"
                      },
                      {
                        "last_affected": "13.1-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "13.1-NA",
            "xwiki-commons-13.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32731.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/xwiki/xwiki-platform",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5e8b9d45b1a37ab1db65cd54e915960db993c6f2"
                },
                {
                  "last_affected": "5e8b9d45b1a37ab1db65cd54e915960db993c6f2"
                },
                {
                  "fixed": "0cf716250b3645a5974c80d8336dcdf885749dff"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:13.1:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "13.1-NA"
                      },
                      {
                        "last_affected": "13.1-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0cf716250b3645a5974c80d8336dcdf885749dff"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "13.1-NA",
            "xwiki-platform-13.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32731.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-32731-0ba20792",
                "digest": {
                  "length": 1584,
                  "function_hash": "253480332439637922064987190340551045073"
                },
                "source": "https://github.com/xwiki/xwiki-platform/commit/0cf716250b3645a5974c80d8336dcdf885749dff",
                "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,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-32731-dab48973",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "142633199193913322929258289945061914855",
                    "53316089628502520382528090005686735928",
                    "106336437353265778798287279260731430602",
                    "283829312753241704011924731210926140635"
                  ]
                },
                "source": "https://github.com/xwiki/xwiki-platform/commit/0cf716250b3645a5974c80d8336dcdf885749dff",
                "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,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:06:57Z"
          }
        }
      ],
      "modified": "2026-10-24T14:06:57.434992490Z",
      "provider": "osv",
      "references": [
        "https://github.com/xwiki/xwiki-platform/commit/0cf716250b3645a5974c80d8336dcdf885749dff#diff-14a3132e3986b1f5606dd13d9d8a8bb8634bec9932123c5e49e9604cfd850fc2",
        "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h4m4-pgp4-whgm",
        "https://jira.xwiki.org/browse/XWIKI-18400"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:xwiki:xwiki:13.1:rc1:*:*:*:*:*:*"
            ],
            "vendor_product": "xwiki:xwiki",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "13.1-rc1"
                  },
                  {
                    "last_affected": "13.1-rc1"
                  },
                  {
                    "introduced": "13.1-rc1"
                  },
                  {
                    "last_affected": "13.1-rc1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-32731",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443067,
  "published_at": "2021-07-01T19:15:07.703+00:00"
}