What’s Vulnerable › Vulnerabilities
CVE-2022-29161: Crypto script service uses hashing algorithm SHA1 with RSA for certificate signature in xwiki-platform
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-05-06 · updated 2026-06-17
- Weakness: CWE-327
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The XWiki Crypto API will generate X509 certificates signed by default using SHA1 with RSA, which is not considered safe anymore for use in certificate signatures, due to the risk of collisions with SHA1. The problem has been patched in XWiki version 13.10.6, 14.3.1 and 14.4-rc-1. Since then, the Crypto API will generate X509 certificates signed by default using SHA256 with RSA. Administrators are advised to upgrade their XWiki installation to one of the patched versions. If the upgrade is not possible, it is possible to patch the module xwiki-platform-crypto in a local installation by applying the change exposed in 26728f3 and re-compiling the module.
Affected products
- xwiki-platform: before 13.10.6; from 14.0 before 14.3.1 — fixed in 13.10.6, 14.3.1
How to fix
Upgrade to a fixed version: xwiki-platform 13.10.6, 14.3.1. Check the vendor advisory for mitigations.
References
- https://github.com/xwiki/xwiki-platform/commit/26728f3f23658288683667a5182a916c7ecefc52
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h8v5-p258-pqf4
- https://jira.xwiki.org/browse/XWIKI-19676
- https://github.com/xwiki/xwiki-platform/commit/26728f3f23658288683667a5182a916c7ecefc52
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h8v5-p258-pqf4
- https://jira.xwiki.org/browse/XWIKI-19676
Get alerted when CVE-2022-29161 or the next vulnerability affects your stack