Mark,
Thank you for this post. The HTML popup is configured by the author of a map in ArcMap. Is the concern here that someone could add malicous content in the HTML
Popup configured for a map/layer that they are publishing on their own server?
If you have a specific case that you would like to be addressed, you can report it to ESRI Support and we can look into this immediately.
thanks
Ravi