CVE-2023-45138
XWiki Change Request Application UI XSS and remote code execution through change request title
Description
### 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: https://github.com/xwiki-contrib/application-changerequest/commit/7565e720117f73102f5a276239eabfe85e15cff4. ### References * JIRA ticket: https://jira.xwiki.org/browse/CRAPP-298 * Commit of the fix: https://github.com/xwiki-contrib/application-changerequest/commit/7565e720117f73102f5a276239eabfe85e15cff4 ### For more information If you have any questions or comments about this advisory: * Open an issue in [Jira XWiki.org](https://jira.xwiki.org/) * Email us at [Security Mailing List](mailto:security@xwiki.org) ### Attribution Thanks Michael Hamann for the report.
How to fix CVE-2023-45138
To remediate CVE-2023-45138, upgrade the affected package to a fixed version below.
- —upgrade to 1.9.2 or later
Is CVE-2023-45138 being exploited?
Likely — EPSS is 71.2%, placing CVE-2023-45138 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (1)
- >= 0.11, < 1.9.2