CVE-2024-43400: XWiki Platform allows XSS through XClass name in string properties

Published Aug 19, 2024
·
Updated

Impact Is it possible for a user without Script or Programming rights to craft a URL pointing to a page with arbitrary JavaScript. This requires social engineer to trick a user to follow the URL.

Reproduction steps

1. As a user without script or programming right, create a (non-terminal) document named " + alert(1) + " (the quotes need to be part of the name). 1. Edit the class. 1. Add a string property named "test". 1. Edit using the object editor and add an object of the created class 1. Get an admin to open <xwiki-server>/xwiki/bin/view/%22%20%2B%20alert(1)%20%2B%20%22/?viewer=display&type=object&property=%22%20%2B%20alert(1)%20%2B%20%22.WebHome.test&mode=edit where <xwiki-server> is the URL of your XWiki installation.

Patches This has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0.

Workarounds

We're not aware of any workaround except upgrading.

References - https://jira.xwiki.org/browse/XWIKI-21810 - https://github.com/xwiki/xwiki-platform/commit/27eca8423fc1ad177518077a733076821268509c

Other sources

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. It is possible for a user without Script or Programming rights to craft a URL pointing to a page with arbitrary JavaScript. This requires social engineer to trick a user to follow the URL. This has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0.

MITRE

Affected Software

7 affected componentsFixes available
maven/org.xwiki.platform:xwiki-platform-oldcore=16.0.0-rc-1
16.0.0
maven/org.xwiki.platform:xwiki-platform-oldcore>=15.6-rc-1<15.10.6
15.10.6
maven/org.xwiki.platform:xwiki-platform-oldcore>=15.0-rc-1<15.5.5
15.5.5
maven/org.xwiki.platform:xwiki-platform-oldcore>=1.1.2<14.10.21
14.10.21
XWiki xwiki<14.10.21
XWiki xwiki>=15.0<15.5.5
XWiki xwiki>=15.6<15.10.6

Event History

Aug 19, 2024
CVE Published
via MITRE·04:24 PM
Data Sourced
via MITRE·04:24 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·09:49 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-43400?

The severity of CVE-2024-43400 is considered moderate due to the potential for social engineering attacks to exploit it.

2

How do I fix CVE-2024-43400?

To fix CVE-2024-43400, upgrade to XWiki platform versions 16.0.0, 15.10.6, 15.5.5, or 14.10.21 as specified in the advisory.

3

What versions of XWiki are affected by CVE-2024-43400?

CVE-2024-43400 affects XWiki versions lower than 14.10.21, 15.0-15.5.5, and 15.6-15.10.6.

4

Is CVE-2024-43400 a remote code execution vulnerability?

No, CVE-2024-43400 does not allow remote code execution but enables injection of arbitrary JavaScript via crafted URLs.

5

What kind of attacks can be performed with CVE-2024-43400?

CVE-2024-43400 can be exploited through social engineering tactics to trick users into clicking on malicious links.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203