# CVE-2022-29161: Crypto script service uses hashing algorithm SHA1 with RSA for certificate signature in xwiki-platform

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2022-05-05T23:35:28.000Z
- Modified: 2026-06-17T04:39:42.590Z
- Also known as: GHSA-h8v5-p258-pqf4
- Weaknesses: CWE-326, CWE-327
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: < 13.10.6; >= 14.0.0, < 14.3.1; >= 14.4.0, < 14.4-rc-1
- org.xwiki.platform:xwiki-platform-crypto (Maven): before 13.10.6; from 14.0.0 before 14.3.1
- xwiki xwiki: before 13.10.6; from 14.0 before 14.3.1

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h8v5-p258-pqf4> (third-party-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/26728f3f23658288683667a5182a916c7ecefc52> (patch, 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)

## Sources

- CVE List: [CVE-2022-29161](https://www.cve.org/CVERecord?id=CVE-2022-29161), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-h8v5-p258-pqf4](https://github.com/advisories/GHSA-h8v5-p258-pqf4), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-29161](https://nvd.nist.gov/vuln/detail/CVE-2022-29161), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-29161 · Whole record: https://cve.day/CVE-2022-29161.json · Rebuilt by cve.day 2026-11-25T22:58:11.488Z
