CVE-2022-29161
CRITICAL 9.8CVSS 3.1Use of a Broken or Risky Cryptographic Algorithm in XWiki Crypto API
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.
- Published
- 6 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-326CWE-327
- Also known as
- GHSA-h8v5-p258-pqf4
- Sources
- NVDJSONOSV GHSA-h8v5-p258-pqf4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
< 13.10.6 | 13.10.6 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 14.0, < 14.3.1 | 14.3.1 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-crypto | < 13.10.6 | 13.10.6 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-crypto | >= 14.0.0, < 14.3.1 | 14.3.1 |
References
- https://github.com/xwiki/xwiki-platform/commit/26728f3f23658288683667a5182a916c7ecefc52 · Patch, Third Party Advisory, WEB
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h8v5-p258-pqf4 · Third Party Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-19676 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-29161 · ADVISORY
- https://github.com/xwiki/xwiki-platform · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 6 May 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)