Skip to content

XWiki Platform vulnerable to stored cross-site scripting in ClassEditSheet page via name parameters

Critical severity GitHub Reviewed Published Jun 20, 2023 in xwiki/xwiki-platform • Updated Nov 4, 2023

Package

maven org.xwiki.platform:xwiki-platform-appwithinminutes-ui (Maven)

Affected versions

>= 5.4.4, < 14.4.8
>= 14.5, < 14.10.4
>= 15.0-rc-1, < 15.0

Patched versions

14.4.8
14.10.4
15.0

Description

Impact

A stored XSS 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.

See https://jira.xwiki.org/browse/XWIKI-20365 for me details.

Patches

The issue has been patched on XWiki 14.4.8, 14.10.4, and 15.0 ?

Workarounds

The issue can be fixed by updating AppWithinMinutes.ClassEditSheet with this patch.

References

For more information

If you have any questions or comments about this advisory:

Attribution

This vulnerability has been reported on Intigriti by René de Sain @renniepak.

References

@manuelleduc manuelleduc published to xwiki/xwiki-platform Jun 20, 2023
Published to the GitHub Advisory Database Jun 20, 2023
Reviewed Jun 20, 2023
Published by the National Vulnerability Database Jun 23, 2023
Last updated Nov 4, 2023

Severity

Critical

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

EPSS score

0.062%
(28th percentile)

CVE ID

CVE-2023-35153

GHSA ID

GHSA-4wc6-hqv9-qc97

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.