CVE-2025-5082
MEDIUM
6.1
CVSS 3.1
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.
Affected WordPress components
-
WP Attachments Plugin · wp-attachmentsUp to and including 5.0.12View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- milmor WP Attachments — Up to and including 5.0.12
References
- 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/
- wordpress.org https://wordpress.org/plugins/wp-attachments/#developers
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/bdc33ecc-da54-4852-8426-bfafe0dca41b?source=cve
- nvd.nist.gov Official NVD record