Hi Michael,
It was not a forum post where this tag was posted. It was done by a teacher editing a topic description.
I was able to reproduce this here:
https://sandbox.moodledemo.net/course/view.php?id=2
Try editing topic 1: https://sandbox.moodledemo.net/course/editsection.php?id=4&sr and inserting the html <base href="https://duckduckgo.com">
This will be saved.
Now I don't know if this really is a bug or security issue. It's just that teachers tend to cut and paste stuff from Internet into their course. And when this HTML code is copied, many links in the course (who seem to be relative links) were destroyed.
I must add that I'm using a custom course format.