Found when doing security review for https://issue-tracker.miraheze.org/T12987
Cause: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/BreadCrumbs2/+/98a156f34f13635a73193df245c569a9855328e2/BreadCrumbs2.class.php#124
Screenshot:
Reproduction steps:
- Install BreadCrumb2
- Set $wgAllowDisplayTitle to true and $wgRestrictDisplayTitle to false
- Save the following wikitext to a page:
{{DISPLAYTITLE: <span style="color: purple">meow<>&'"</span> <script>alert(1)</script>}}
- Load said page