CVE-2025-5082CWE-79

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

Medium · published May 28, 2025

CVSS v3.1
6.1
EPSS
0%
Percentile
24.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.1 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00327 · 24.5th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-05-28T07:23Z
EPSS history
Timeline
  • 28 MAY 07:23Z
    WP Attachments <= 5.0.12 - Reflected Cross-Site Scripting via attachment_id Parameter
    cvelistv5