CVE-2022-24820 Unauthenticated user can list hidden document from multiple velocity templates
Unauthenticated users can list hidden documents by rendering specific velocity templates, bypassing view restrictions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-24820?
CVE-2022-24820 is a medium-severity missing authorization vulnerability in Xwiki Xwiki, published on 8 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. A guest user without the right to view pages of the wiki can still list documents by rendering some velocity documents. The problem has been patched in XWiki versions 12.10.11, 13.4.4, and 13.9-rc-1. There is no known workaround for this problem.
Which versions are affected by CVE-2022-24820?
6 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-web. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.xwiki.platform:xwiki-platform-web Maven | All versions | 12.10.11 |
org.xwiki.platform:xwiki-platform-web Maven | All versions | 12.10.11 |
org.xwiki.platform:xwiki-platform-web Maven | From 13.0.0 | 13.4.4 |
org.xwiki.platform:xwiki-platform-web Maven | From 13.0.0 | 13.4.4 |
org.xwiki.platform:xwiki-platform-web Maven | From 13.5.0 | 13.9 |
org.xwiki.platform:xwiki-platform-web Maven | From 13.5.0 | 13.9 |
Products include Xwiki Xwiki.
How do I fix CVE-2022-24820?
Upgrade org.xwiki.platform:xwiki-platform-web to a fixed version for your release line: 12.10.11, 13.4.4 or 13.9.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-24820 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-24820 exists.
Other vulnerabilities in Xwiki Xwiki
- CVE-2025-24893 XWiki Platform Eval Injection
- CVE-2025-53836 XWiki Rendering is vulnerable to RCE attacks when processing nested macros
- CVE-2024-55662 XWiki allows remote code execution through the extension sheet
- CVE-2024-55877 XWiki allows remote code execution from account through macro descriptions and XWiki.XWikiSyntaxMacrosList
- CVE-2024-37901 XWiki Platform vulnerable to remote code execution from account via SearchSuggestConfigSheet
Sources
Also known as GHSA-qpp2-2mcp-2wm5.