Skip to content

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

MediumCVSS 6.1 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
milmor WP Attachments <= 5.0.12 No fix listed
wordpress wp-attachments(WordPress) < 5.1 5.1

References