CVE-2026-13425: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in code4life Database for CF7
The Database for CF7 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Array Form Field Values in all versions up to, and including, 1.2.6 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is exploitable by unauthenticated attackers because Contact Form 7 accepts array-structured input for ordinary text fields (e.g., your-name[]) via the public REST API endpoint /wp-json/contact-form-7/v1/contact-forms/{id}/feedback, and the plugin stores submitted data using $wpdb INSERT with serialize() into a custom wp_cf7db table, bypassing WordPress save-time filtering via wp_insert_post/wp_kses.
AI Analysis
Technical Summary
CVE-2026-13425 is a stored cross-site scripting vulnerability in the Database for CF7 plugin for WordPress, affecting all versions up to 1.2.6. The vulnerability occurs because the plugin does not properly sanitize or escape array-structured input submitted through Contact Form 7's REST API endpoint (/wp-json/contact-form-7/v1/contact-forms/{id}/feedback). The plugin stores this data serialized in a custom table using $wpdb INSERT, bypassing WordPress's usual content filtering functions such as wp_insert_post and wp_kses. This allows unauthenticated attackers to inject malicious scripts that execute when users view the stored data, leading to potential compromise of user sessions or other client-side impacts.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to inject and store arbitrary JavaScript code in the plugin's database. When legitimate users access pages displaying the injected data, the malicious scripts execute in their browsers, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability has a CVSS 3.1 base score of 7.2 (high severity), with network attack vector, low attack complexity, no privileges or user interaction required, and impacts on confidentiality and integrity with no availability impact.
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 the Database for CF7 plugin or restricting access to the affected REST API endpoints to trusted users only. Monitoring for suspicious input and output sanitization at the application level may help reduce risk. Avoid using vulnerable versions and apply any vendor-provided updates promptly once released.
CVE-2026-13425: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in code4life Database for CF7
Description
The Database for CF7 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Array Form Field Values in all versions up to, and including, 1.2.6 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is exploitable by unauthenticated attackers because Contact Form 7 accepts array-structured input for ordinary text fields (e.g., your-name[]) via the public REST API endpoint /wp-json/contact-form-7/v1/contact-forms/{id}/feedback, and the plugin stores submitted data using $wpdb INSERT with serialize() into a custom wp_cf7db table, bypassing WordPress save-time filtering via wp_insert_post/wp_kses.
CVSS v3.1
Score 7.2high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-13425 is a stored cross-site scripting vulnerability in the Database for CF7 plugin for WordPress, affecting all versions up to 1.2.6. The vulnerability occurs because the plugin does not properly sanitize or escape array-structured input submitted through Contact Form 7's REST API endpoint (/wp-json/contact-form-7/v1/contact-forms/{id}/feedback). The plugin stores this data serialized in a custom table using $wpdb INSERT, bypassing WordPress's usual content filtering functions such as wp_insert_post and wp_kses. This allows unauthenticated attackers to inject malicious scripts that execute when users view the stored data, leading to potential compromise of user sessions or other client-side impacts.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to inject and store arbitrary JavaScript code in the plugin's database. When legitimate users access pages displaying the injected data, the malicious scripts execute in their browsers, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability has a CVSS 3.1 base score of 7.2 (high severity), with network attack vector, low attack complexity, no privileges or user interaction required, and impacts on confidentiality and integrity with no availability impact.
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 the Database for CF7 plugin or restricting access to the affected REST API endpoints to trusted users only. Monitoring for suspicious input and output sanitization at the application level may help reduce risk. Avoid using vulnerable versions and apply any vendor-provided updates promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-06-26T13:05:29.224Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a69bbd69c2644c7f835ad1e
Added to database: 07/29/2026, 08:37:42 UTC
Last enriched: 07/29/2026, 10:08:06 UTC
Last updated: 07/30/2026, 01:29:05 UTC
Views: 12
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.