XWiki Change Request Application UI XSS and remote code execution through change request title
Critical severity
GitHub Reviewed
Published
Oct 12, 2023
in
xwiki-contrib/application-changerequest
•
Updated Nov 11, 2023
Package
Affected versions
>= 0.11, < 1.9.2
Patched versions
1.9.2
Description
Published by the National Vulnerability Database
Oct 12, 2023
Published to the GitHub Advisory Database
Oct 17, 2023
Reviewed
Oct 17, 2023
Last updated
Nov 11, 2023
Impact
It's possible for a user without any specific right to perform script injection and remote code execution just by inserting an appropriate title when creating a new Change Request.
This vulnerability is particularly critical as Change Request aims at being created by user without any particular rights.
Patches
The vulnerability has been fixed in Change Request 1.9.2.
Workarounds
It's possible to workaround the issue without upgrading by editing the document
ChangeRequest.Code.ChangeRequestSheet
and by performing the same change as in the commit: xwiki-contrib/application-changerequest@7565e72.References
For more information
If you have any questions or comments about this advisory:
Attribution
Thanks Michael Hamann for the report.
References