Skip to content
OpenAdvisories
Medium · 6.1 CVE-2025-5082 EUVD-2025-16285GHSA-q4f7-c648-vwr2

WP Attachments <= 5.0.12 - Reflected Cross-Site Scripting via attachment_id Parameter

Published May 28, 2025 · Updated Apr 8, 2026 · Assigned by Wordfence

Description

The WP Attachments plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ‘attachment_id’ parameter in all versions up to, and including, 5.0.12 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

Affected products

VendorProductAffectedFixed
milmor WP Attachments ≤ 5.0.12 —

References