File::getLongDesc() is documented to return HTML, but the return value is treated as wikitext, and some handlers return unescaped plain text.
There is no security issue at the moment, since the wikitext parsing cleans up everything, but it seems like it's a bug waiting to happen.
Noticed in code review in https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1152129/comment/7c010e3c_a286e36c/.