It's reproducible on latest version, but only if admin user disables new image plugin for CKEditor. Is this issue relevant? A new image dialog plugin replaces old-image dialog window since XWiki-14.5+, it lists same tree with attachment but doesn't allow user to select non-image attachment.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.