Description
In MediaWiki before 1.35.1, the combination of Html::rawElement and Message::text leads to XSS because the definition of MediaWiki:recentchanges-legend-watchlistexpiry can be changed onwiki so that the output is raw HTML.
Remediation
References
Related Vulnerabilities
WordPress Plugin Bitcoin Faucet Cross-Site Scripting (1.0.12)
WebLogic Deserialization of Untrusted Data Vulnerability (CVE-2018-3245)
Java Unspesificed Vulnerability (CVE-2018-3157)
PHP Other Vulnerability (CVE-2006-1494)
silverstripeCMS Cross-Site Request Forgery (CSRF) Vulnerability (CVE-2019-12246)