Reflected Cross-Site Scripting Vulnerability in WP Attachments Plugin
Key Information:
- Vendor
WordPress
- Status
- CVE ID
- CVE ID:
- CVE-2025-5082
- Vendor
- CVE Published:
- 28 May 2025
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but a user must act
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory β2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach WP Attachments. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Monitor"
- Its CVSS severity is medium (6.1).
What is CVE-2025-5082?
The WP Attachments plugin for WordPress is susceptible to reflected cross-site scripting via the 'attachment_id' parameter in versions up to 5.0.12. This vulnerability arises from inadequate input sanitization and output escaping, enabling potential attackers to execute arbitrary scripts within the context of an authenticated user's session. If an attacker can successfully lure a user into clicking on a specially crafted link, they can exploit this flaw to perform malicious actions on the user's behalf.
Affected Version(s)
WP Attachments 0 <= 5.0.12
References
More WordPress Vulnerabilities
Object Injection in Ultimate Member
Unauthorized Password Reset in User Registration Aide Plugin for WordPress
Remote Code Execution in WP Duplicate Plugin
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction