ADVISORIES

GitHub Advisory Database

GHSA-v9j2-q4q5-cxh4

No CSRF protection on the password change form

Moderate CVE-2021-32730

Details

Impact

It's possible for forge an URL that, when accessed by an admin, will reset the password of any user in XWiki.

Patches

The problem has been patched in XWiki 12.10.5, 13.2RC1.

Workarounds

It's possible to apply the patch manually by modifying the register_macros.vm template like in https://github.com/xwiki/xwiki-platform/commit/0a36dbcc5421d450366580217a47cc44d32f7257.

References

https://jira.xwiki.org/browse/XWIKI-18315

For more information

If you have any questions or comments about this advisory:

Affected packages

EcosystemPackageAffected versions
Mavenorg.xwiki.platform:xwiki-platform-administration-ui
All versions before 12.10.5 (fixed in 12.10.5)
Mavenorg.xwiki.platform:xwiki-platform-administration-ui
From 13.0 before 13.2 (fixed in 13.2)

References