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-2023-50730 Vulnerability in maven package edu.gemini:gsp-graphql-core_sjs1_3
CVE-2023-24057 Vulnerability in maven package ca.uhn.hapi.fhir:org.hl7.fhir.convertors
CVE-2021-44908 Vulnerability in npm package sails
CVE-2017-16221 Vulnerability in npm package yzt
CVE-2019-18797 Vulnerability in maven package org.webjars.npm:node-sass