Vulnerability · Published Jun 23, 2023 · Assigned by GitHub_M
CVE-2023-35153XWiki Platform vulnerable to stored cross-site scripting in ClassEditSheet page via name parameters
Critical 9.1
In plain English
A critical-severity cross-site scripting in xwiki-platform from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-appwithinminutes-ui | 14.4.8 | GHSA-4wc6-hqv9-qc97 |
| Maven | org.xwiki.platform:xwiki-platform-appwithinminutes-ui | 14.10.4 | GHSA-4wc6-hqv9-qc97 |
| Maven | org.xwiki.platform:xwiki-platform-appwithinminutes-ui | 15.0 | GHSA-4wc6-hqv9-qc97 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 5.4.4, < 14.4.8 >= 14.5, < 14.10.4>= 15.0-rc-1, < 15.0 |
Weakness: CWE-79, CWE-80 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-4wc6-hqv9-qc97 x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/1b87fec1e5b5ec00b7a8c3c3f94f6c5e22547392#diff-79e725ec7125cced7d302e1a1f955a76745af26ef28a148981b810e85335d302 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-20365 x_refsource_MISC