CVE-2023-29205 org.xwiki.platform:xwiki-platform-rendering-xwiki vulnerable to stored cross-site scripting via HTML and raw macro
Attackers can inject malicious scripts via the HTML macro in user profiles, leading to stored XSS and potential account takeover.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-29205?
CVE-2023-29205 is a critical cross-site scripting vulnerability in Xwiki Xwiki, published on 15 Apr 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
XWiki Commons are technical libraries common to several other top level XWiki projects. The HTML macro does not systematically perform a proper neutralization of script-related html tags. As a result, any user able to use the html macro in XWiki, is able to introduce an XSS attack. This can be particularly dangerous since in a standard wiki, any user is able to use the html macro directly in their own user profile page. The problem has been patched in XWiki 14.8RC1. The patch involves the HTML macros and are systematically cleaned up whenever the user does not have the script correct.
Weakness: CWE-79
Which versions are affected by CVE-2023-29205?
2 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-rendering-xwiki. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.xwiki.platform:xwiki-platform-rendering-xwiki Maven | All versions | 14.8-rc-1 |
org.xwiki.platform:xwiki-platform-rendering-xwiki Maven | All versions | 14.8-rc-1 |
Products include Xwiki Xwiki.
How do I fix CVE-2023-29205?
Upgrade org.xwiki.platform:xwiki-platform-rendering-xwiki to 14.8-rc-1 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-2023-29205 being exploited?
There is no known exploitation of CVE-2023-29205 in the wild and no public exploit code.
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-vxf7-mx22-jr24.