An unauthenticated AJAX action fails to verify if a requested post is publicly viewable, relying solely on the published status rather than the post type's visibility. This allows unauthenticated users to disclose content from non-public post types, such as captured contact-form submissions containing names, email addresses, and messages.