The wikihiero-input and wikihiero-result system messages are concatenated with raw HTML in the WikiHiero extension, allowing arbitrary HTML to be inserted into the DOM by editing these system messages.
Reproduction steps
- Go to Special:Hieroglyphs?uselang=x-xss in your wiki
- Enter any text into the input and click Submit
Cause
The system messages are retrieved via mw.msg() and concatenated with raw HTML: https://github.com/wikimedia/mediawiki-extensions-wikihiero/blob/cdbcaea09bdf79c4ce6f6b86a9afd2fe251bb63e/modules/ext.wikihiero.special.js#L29-L32

