CVE-2022-29161Xwiki
Critical 9.8 No auth needed
Follow: this CVE · Xwiki · Xwiki We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 24
- Auth required
- No
- Published
- May 6, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Xwiki.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-crypto |
< 13.10.6 |
13.10.6 |
— |
| Maven | org.xwiki.platform:xwiki-platform-crypto |
≥ 14.0.0 < 14.3.1 |
14.3.1 |
— |
Per OSV / GitHub Advisories (GHSA-h8v5-p258-pqf4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki | < 13.10.6 |
| xwiki | xwiki | ≥ 14.0 < 14.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- jira.xwiki.org Vendor Advisory