Cross-site Scripting in org.xwiki.commons:xwiki-commons-xml
CVE-2023-29528
Summary
XWiki Commons has a vulnerability in its 'restricted' mode of the HTML cleaner that permits the injection of arbitrary HTML code through invalid HTML comments. This issue arises when a privileged user, who has programming rights, interacts with the malicious comment, leading to JavaScript execution within the user's session. The implications of this vulnerability could compromise the confidentiality, integrity, and availability of the XWiki instance. A fix was introduced in version 14.10, where the HTML comments are now sanitized in 'restricted' mode, and checks have been added to prevent starting comments with specific characters. Users are advised to upgrade to this version to mitigate potential risks.
Affected Version(s)
xwiki-commons >= 4.2-milestone-1, < 14.10
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved