Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-4wc6-hqv9-qc97: XWiki Platform vulnerable to stored cross-site scripting in ClassEditSheet page via name parameters

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

  • https://github.com/xwiki/xwiki-platform/commit/1b87fec1e5b5ec00b7a8c3c3f94f6c5e22547392#diff-79e725ec7125cced7d302e1a1f955a76745af26ef28a148981b810e85335d302
  • https://jira.xwiki.org/browse/XWIKI-20365

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.

ghsa
#xss#vulnerability#git#java#jira#maven

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

  • xwiki/xwiki-platform@1b87fec#diff-79e725ec7125cced7d302e1a1f955a76745af26ef28a148981b810e85335d302
  • https://jira.xwiki.org/browse/XWIKI-20365

For more information

If you have any questions or comments about this advisory:

  • Open an issue in Jira XWiki.org
  • Email us at Security Mailing List

Attribution

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

References

  • GHSA-4wc6-hqv9-qc97
  • xwiki/xwiki-platform@1b87fec#diff-79e725ec7125cced7d302e1a1f955a76745af26ef28a148981b810e85335d302
  • https://jira.xwiki.org/browse/XWIKI-20365

manuelleduc published to xwiki/xwiki-platform

Jun 20, 2023

Published to the GitHub Advisory Database

Jun 20, 2023

Reviewed

Jun 20, 2023

Last updated

Jun 20, 2023

Related news

CVE-2023-35153: SXSS in ClassEditSheet page via name parameters

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.