CVE-2023-35153: XWiki Platform AppWithinMinutes Stored Cross-Site Scripting Vulnerability
Summary
CVE-2023-35153: XWiki Platform vulnerable to stored cross-site scripting in ClassEditSheet page via name parameters. Affects org.xwiki.platform:xwiki-platform-appwithinminutes-ui across 3 version ranges.
>= 5.4.4, < 14.4.8
>= 14.5, < 14.10.4
>= 15.0-rc-1, < 15.0
Fixed in 14.4.8, 14.10.4 or 15.0, depending on the release line you run. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
XWiki Platform is an open-source wiki software written in Java that allows users to create and collaborate on content. The AppWithinMinutes module provides a way to create custom applications within XWiki. It includes features such as form fields, categories, and templates. The XWiki Platform AppWithinMinutes UI package is responsible for the user interface of the module.
Vulnerability Detail
The XWiki Platform AppWithinMinutes UI package is vulnerable to a stored cross-site scripting (XSS) attack. This vulnerability allows users with edit rights to inject malicious scripts into the ClassEditSheet page via the 'name' parameter. By adding a specific class and setting the payload on the page title, an attacker can execute arbitrary code when other users visit the '/xwiki/bin/view/AppWithinMinutes/ClassEditSheet' page. This can lead to unauthorized access, data theft, or other malicious activities.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
>= 5.4.4, < 14.4.814.4.8 -
>= 14.5, < 14.10.414.10.4 -
>= 15.0-rc-1, < 15.015.0
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
If updating the XWiki Platform AppWithinMinutes UI package is not immediately feasible, you can apply a temporary workaround by manually patching the 'AppWithinMinutes.ClassEditSheet' file. The patch can be found in the following GitHub commit: link to patch. Follow the instructions provided in the commit to apply the patch to your installation. However, it is strongly recommended to update to the latest version of the package as soon as possible.
Conclusion
The XWiki Platform AppWithinMinutes UI package is vulnerable to a stored cross-site scripting (XSS) attack. To mitigate this vulnerability, it is crucial to update the package to the recommended versions or apply the provided patch. Regularly monitoring for security updates and promptly applying them is essential to ensure the security of your XWiki installation. If you have any further questions or need assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.xwiki.platform:xwiki-platform-appwithinminutes-ui →
FAQ
The vulnerability allows users with edit rights to execute arbitrary scripts on the ClassEditSheet page. This can lead to unauthorized access, data theft, or other malicious activities.
Users with edit rights on the XWiki Platform AppWithinMinutes module can exploit this vulnerability by adding a specific class and payload to the page title.
There are no known instances of this vulnerability being exploited in the wild. However, it is recommended to apply the necessary patches or updates to prevent any potential attacks.
No, this vulnerability requires the attacker to have edit rights on the XWiki Platform AppWithinMinutes module. It cannot be exploited remotely without proper access.
Yes, the CVSS score for this vulnerability is 9.0, indicating a critical severity level.
References
Related vulnerabilities
Recent vulnerabilities recorded for org.xwiki.platform:xwiki-platform-appwithinminutes-ui.