CVE-2025-5082: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in milmor WP Attachments
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.
AI Analysis
Technical Summary
CVE-2025-5082 is a reflected cross-site scripting vulnerability in the WP Attachments WordPress plugin affecting versions up to 5.0.12. The issue stems from improper neutralization of input in the 'attachment_id' parameter, allowing injection of arbitrary scripts that execute in the context of the victim's browser. This vulnerability requires user interaction (clicking a malicious link) and does not require authentication. The CVSS 3.1 vector indicates network attack vector, low attack complexity, no privileges required, user interaction required, scope changed, with low confidentiality and integrity impact and no availability impact.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary scripts in the context of a victim's browser, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability does not impact server availability and requires user interaction. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider disabling or restricting access to the vulnerable plugin or applying manual input validation and output escaping as a temporary mitigation. Monitor official milmor or WP Attachments plugin channels for updates.
CVE-2025-5082: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in milmor WP Attachments
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-5082 is a reflected cross-site scripting vulnerability in the WP Attachments WordPress plugin affecting versions up to 5.0.12. The issue stems from improper neutralization of input in the 'attachment_id' parameter, allowing injection of arbitrary scripts that execute in the context of the victim's browser. This vulnerability requires user interaction (clicking a malicious link) and does not require authentication. The CVSS 3.1 vector indicates network attack vector, low attack complexity, no privileges required, user interaction required, scope changed, with low confidentiality and integrity impact and no availability impact.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary scripts in the context of a victim's browser, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability does not impact server availability and requires user interaction. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider disabling or restricting access to the vulnerable plugin or applying manual input validation and output escaping as a temporary mitigation. Monitor official milmor or WP Attachments plugin channels for updates.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-05-22T08:37:13.219Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6836be9b182aa0cae23cee24
Added to database: 5/28/2025, 7:43:23 AM
Last enriched: 4/9/2026, 10:27:09 AM
Last updated: 5/8/2026, 3:41:13 PM
Views: 72
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.