CVE-2023-29525: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Affected versions of xwiki are subject to code injection in the since
parameter of the /xwiki/bin/view/XWiki/Notifications/Code/LegacyNotificationAdministration
endpoint. This provides an XWiki syntax injection attack via the since-parameter, allowing privilege escalation from view to programming rights and subsequent code execution privilege. The vulnerability has been patched in XWiki 15.0-rc-1, 14.10.3, 14.4.8 and 14.10.3. Users are advised to upgrade. Users unable to upgrade may modify the page XWiki.Notifications.Code.LegacyNotificationAdministration
to add the missing escaping. For versions < 14.6-rc-1 a workaround is to modify the file <xwikiwebapp>/templates/distribution/eventmigration.wiki
to add the missing escaping.
References
- github.com/advisories/GHSA-jgg7-w2rj-58cj
- github.com/xwiki/xwiki-platform/commit/6d74e2e4aa03d19f0be385ab63ae9e0f0e90a766
- github.com/xwiki/xwiki-platform/commit/8e7c7f90f2ddaf067cb5b83b181af41513028754
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-jgg7-w2rj-58cj
- jira.xwiki.org/browse/XWIKI-20287
- nvd.nist.gov/vuln/detail/CVE-2023-29525
Detect and mitigate CVE-2023-29525 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →