🔐 CVE Alert

CVE-2025-5082

MEDIUM 6.1

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

CVSS Score
6.1
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-79
Vendor milmor
Product wp attachments
Published May 28, 2025
Last Updated Apr 8, 2026
Stay Ahead of the Next One

Get instant alerts for milmor wp attachments

Be the first to know when new medium vulnerabilities affecting milmor wp attachments are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

milmor / WP Attachments
0 ≤ 5.0.12

References

NVD ↗ CVE.org ↗ EPSS Data ↗
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/bdc33ecc-da54-4852-8426-bfafe0dca41b?source=cve wordpress.org: https://wordpress.org/plugins/wp-attachments/#developers plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/wp-attachments/tags/5.0.12/inc/html/attachmentEditIframe.php plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/wp-attachments/tags/5.0.12/inc/ij-post-attachments.php#L274 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/changeset/3300269/

Credits

Antonio Francesco Sardella