Reflected Cross-Site Scripting Vulnerability in WP Attachments Plugin by WordPress
CVE-2025-5082

6.1MEDIUM

Key Information:

Vendor

WordPress

Vendor
CVE Published:
28 May 2025

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 * <= 5.0.12

References

CVSS V3.1

Score:
6.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Antonio Francesco Sardella
.
CVE-2025-5082 : Reflected Cross-Site Scripting Vulnerability in WP Attachments Plugin by WordPress