CVE-2023-35153 XWiki Platform vulnerable to stored cross-site scripting in ClassEditSheet page via name parameters
Attackers with edit rights can inject malicious scripts via page titles, leading to code execution when other users view the ClassEditSheet page.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-35153?
CVE-2023-35153 is a critical cross-site scripting vulnerability in Xwiki Xwiki, published on 23 Jun 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
XWiki Platform is a generic wiki platform. Starting in version 5.4.4 and prior to versions 14.4.8, 14.10.4, and 15.0, a stored cross-site scripting vulnerability can be exploited by users with edit rights by adding a `AppWithinMinutes.FormFieldCategoryClass` class on a page and setting the payload on the page title. Then, any user visiting `/xwiki/bin/view/AppWithinMinutes/ClassEditSheet` executes the payload. The issue has been patched in XWiki 14.4.8, 14.10.4, and 15.0. As a workaround, update `AppWithinMinutes.ClassEditSheet` with a patch.
Which versions are affected by CVE-2023-35153?
6 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-appwithinminutes-ui. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.xwiki.platform:xwiki-platform-appwithinminutes-ui Maven | From 14.5 | 14.10.4 |
org.xwiki.platform:xwiki-platform-appwithinminutes-ui Maven | From 14.5 | 14.10.4 |
org.xwiki.platform:xwiki-platform-appwithinminutes-ui Maven | From 15.0-rc-1 | 15.0 |
org.xwiki.platform:xwiki-platform-appwithinminutes-ui Maven | From 15.0-rc-1 | 15.0 |
org.xwiki.platform:xwiki-platform-appwithinminutes-ui Maven | From 5.4.4 | 14.4.8 |
org.xwiki.platform:xwiki-platform-appwithinminutes-ui Maven | From 5.4.4 | 14.4.8 |
Products include Xwiki Xwiki.
How do I fix CVE-2023-35153?
Upgrade org.xwiki.platform:xwiki-platform-appwithinminutes-ui to a fixed version for your release line: 14.10.4, 15.0 or 14.4.8.
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-35153 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-35153 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-4wc6-hqv9-qc97.