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.
{ "versions": [ { "introduced": "0" }, { "fixed": "1.35.1" } ] }
[ { "events": [ { "introduced": "0" }, { "last_affected": "33" } ] } ]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35474.json"