CVE-2020-13654 Improper escaping in XWiki Platform
Attackers can execute arbitrary scripts via improper escaping in the property displayer, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-13654?
CVE-2020-13654 is a high-severity cross-site scripting vulnerability in Xwiki Xwiki, published on 31 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
XWiki Platform before 12.8 mishandles escaping in the property displayer.
Weakness: CWE-116
Which versions are affected by CVE-2020-13654?
2 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.8 |
org.xwiki.platform:xwiki-platform-web Maven | All versions | 12.8 |
Products include Xwiki Xwiki.
How do I fix CVE-2020-13654?
Upgrade org.xwiki.platform:xwiki-platform-web to 12.8 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2020-13654 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-13654 exists.
Public exploit code: 1 proofs of concept on GitHub.
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-p93c-h8qm-7256.