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.
History

Wed, 28 May 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 28 May 2025 07:30:00 +0000

Type Values Removed Values Added
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.
Title WP Attachments <= 5.0.12 - Reflected Cross-Site Scripting via attachment_id Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published: 2025-05-28T07:23:57.358Z

Updated: 2025-05-28T14:37:40.915Z

Reserved: 2025-05-22T08:37:13.219Z

Link: CVE-2025-5082

cve-icon Vulnrichment

Updated: 2025-05-28T14:32:55.173Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-05-28T08:15:23.227

Modified: 2025-05-28T15:01:30.720

Link: CVE-2025-5082

cve-icon Redhat

No data.