Description
XWiki Commons are technical libraries common to several other top level XWiki projects. The HTML macro does not systematically perform a proper neutralization of script-related html tags. As a result, any user able to use the html macro in XWiki, is able to introduce an XSS attack. This can be particularly dangerous since in a standard wiki, any user is able to use the html macro directly in their own user profile page. The problem has been patched in XWiki 14.8RC1. The patch involves the HTML macros and are systematically cleaned up whenever the user does not have the script correct.
Remediation
References
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vxf7-mx22-jr24
https://jira.xwiki.org/browse/XWIKI-18568
Related Vulnerabilities
CVE-2019-18213 Vulnerability in maven package org.lsp4xml:lsp4xml-extensions
CVE-2019-13236 Vulnerability in maven package org.opencms:opencms-core
CVE-2023-43668 Vulnerability in maven package org.apache.inlong:manager-pojo
CVE-2023-41037 Vulnerability in npm package openpgp
CVE-2023-32987 Vulnerability in maven package org.jenkins-ci.plugins:reverse-proxy-auth-plugin