Ok after testing with a fresh install it is not a problem of xwiki itself.
By pure luck I found that in "Global Administration: Presentation" the Setting "HTTP Meta Info" contained values. And instead of using "#template('meta.vm')", it seems it contained an old version of the default template content Maybe an relict from an very old installation (the installation was first installed when the package still contained the enterprise name in it)
Thus -> resolved
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.