CVE-2026-39449: Unauthenticated XSS in Contact Form to Any API WordPress Plugin
The Contact Form to Any API WordPress plugin contains an unauthenticated cross-site scripting (XSS) vulnerability affecting versions 3.0.3 and earlier. An attacker can inject malicious JavaScript code through the plugin's contact form without requiring authentication. When a user interacts with a compromised form, the malicious script executes in their browser, potentially stealing credentials, session tokens, or sensitive data. The vulnerability is rated HIGH with a CVSS score of 7.1, indicating significant risk to affected installations.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.1 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
- Weaknesses (CWE)
- CWE-79
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-15 / 2026-06-17
NVD description (verbatim)
Unauthenticated Cross Site Scripting (XSS) in Contact Form to Any API <= 3.0.3 versions.
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-39449 is a reflected or stored XSS vulnerability (CWE-79) in Contact Form to Any API up to version 3.0.3. The plugin fails to properly sanitize or validate user input before rendering it in web responses. The attack vector is network-based with low complexity and requires no special privileges; however, user interaction is necessary (a victim must click a malicious link or view a compromised form). The vulnerability scope is changed, meaning the impact extends beyond the vulnerable component to affect other security domains such as user sessions or the hosting site's reputation.
Business impact
Compromised WordPress installations running this plugin risk unauthorized access to user data submitted through contact forms, which often includes names, emails, phone numbers, and custom field data. Attackers may harvest this information for phishing campaigns, spam, or identity theft. Additionally, malicious script injection can deface the website, redirect users to third-party sites, or serve malware. This affects customer trust, brand reputation, and may trigger compliance violations if personally identifiable information is exfiltrated.
Affected systems
The vulnerability affects Contact Form to Any API plugin versions 3.0.3 and earlier. Any WordPress site running this plugin in a vulnerable version is at risk. The attack requires only network access and is not restricted to specific WordPress versions or hosting environments. Sites using this plugin for lead generation, customer inquiries, or contact channels face direct exposure.
Exploitability
This vulnerability has a low barrier to exploitation. No authentication is required, attack complexity is minimal, and the network-based vector means an attacker can craft a malicious URL or embed a payload in a web page that targets users of the vulnerable plugin. The chief requirement is user interaction—a victim must visit a crafted link or view poisoned form content. Given the prevalence of contact forms and the social engineering potential, exploitability is practical and likely.
Remediation
Update Contact Form to Any API to a patched version released after 3.0.3. Plugin maintainers should have released a security update addressing the XSS flaw. Verify the current version in your WordPress plugin dashboard and compare against the vendor's advisory to confirm the minimum safe version. If an update is available, apply it immediately. For sites unable to update, consider disabling the plugin until a patch is confirmed safe.
Patch guidance
Check the WordPress plugin repository or the plugin vendor's website for version history and security advisories. Update to the earliest version published after June 17, 2026 (the modification date of this vulnerability) that explicitly addresses XSS input validation. Test the update in a staging environment before deploying to production. Verify that contact form submissions continue to function and that no custom configurations are broken by the patch.
Detection guidance
Monitor web server logs and WordPress activity logs for unusual POST or GET requests to the contact form handler that contain script tags, event handlers (e.g., onload, onclick), or URL encoding patterns suggesting injection attempts. WordPress security plugins such as Wordfence or Sucuri may flag malicious payloads. Review form submissions for unexpected HTML or JavaScript content. Check for unauthorized changes to plugin files or database entries related to form data. Implement Content Security Policy (CSP) headers to mitigate XSS execution even if a payload reaches a page.
Why prioritize this
This vulnerability merits immediate attention because it requires no authentication, has a low attack complexity, and can be exploited by any attacker with basic web knowledge. The HIGH CVSS score reflects the wide scope of potential damage: credential theft, data exfiltration, and malware delivery. Contact forms are frequently used and often collect sensitive business or customer data, making this a high-value target. The fact that the vulnerability is unauthenticated elevates urgency significantly.
Risk score, explained
The CVSS 3.1 score of 7.1 (HIGH) reflects an unauthenticated, network-based attack with low complexity (AV:N/AC:L/PR:N) that requires user interaction (UI:R). The scope change (S:C) indicates that the impact extends beyond the plugin itself to the broader system (e.g., user sessions, site functionality). Confidentiality, Integrity, and Availability are all impacted at a Low level: confidentiality loss through data theft, integrity compromise via script injection, and limited availability impact. This combination justifies a HIGH severity rating appropriate for rapid patching.
Frequently asked questions
Does this vulnerability require the attacker to be logged in?
No. This is an unauthenticated vulnerability. Any attacker on the internet can craft a malicious link or inject a payload without needing a WordPress account or admin access.
What data is at risk?
Any information submitted through the contact form is potentially at risk, including names, email addresses, phone numbers, company information, and custom form fields. Additionally, the XSS attack can steal session cookies or tokens from site visitors.
Will updating the plugin break my custom contact form settings?
Typically, plugin updates preserve configuration data stored in the WordPress database. However, you should always test updates in a staging environment first. If you have heavily customized the plugin code directly, those changes may be overwritten; consider using hooks or filters instead.
Is this vulnerability being actively exploited?
This vulnerability is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog, which tracks in-the-wild exploitation. However, the simplicity of XSS attacks means it could be exploited opportunistically against unpatched installations.
This vulnerability intelligence is provided for informational purposes. SEC.co makes no warranties regarding the accuracy, completeness, or timeliness of patch information. Verify all version numbers and patch availability against official vendor advisories before deploying updates. Patch versions and security guidance are subject to change. Organizations should perform their own testing in staging environments and conduct risk assessments appropriate to their specific deployment. This analysis does not constitute legal or technical advice, and professional security consultation is recommended for high-impact environments. Source: NVD (public-domain), retrieved 2026-07-23. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2016-20066HIGHWordPress CP Polls 1.0.8 Persistent XSS Vulnerability
- CVE-2016-20084HIGHWordPress Appointment-Booking-Calendar Unauthenticated XSS and Privilege Escalation
- CVE-2023-33999HIGHDOM-Based XSS in WP Mail Log Plugin – Analysis & Remediation
- CVE-2023-54351HIGHStored XSS in WordPress Sonaar Music Plugin 4.7 – Patch & Detection Guide
- CVE-2025-11262HIGHLink Whisper Free Stored XSS Vulnerability – Analysis & Patch Guidance
- CVE-2025-14773HIGHABB T-MAC Plus XSS Vulnerability – HIGH Risk Assessment
- CVE-2025-15654HIGHFox-themes Prague Reflected XSS Vulnerability – CVSS 7.1 (HIGH)
- CVE-2025-52759HIGHReflected XSS in UnboundStudio Accordion FAQ Plugin (Versions ≤2.2.1)