Skip to main content

CF7 Redirection CVE-2025-9562

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-18 security@wordfence.com
6.4
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as contributor-level user
  2. Delivery
    Inject malicious qs_date shortcode attribute
  3. Exploit
    Payload stored unsanitized in page
  4. Execution
    Script executes in admin/visitor browser
  5. Impact
    Hijack session or perform privileged action

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated account with contributor-level privileges or above on the target WordPress site, and the site must have the Redirection for Contact Form 7 plugin (version ≤3.2.6) installed and active. The specific vector is the plugin's qs_date shortcode, whose user-supplied attributes are not sanitized on input nor escaped on output. The payload is stored, so execution is deferred until another user (e.g., an administrator or site visitor) accesses the page containing the injected shortcode - meaning impact depends on a higher-privileged or additional user subsequently rendering the affected page. Limiting factors: the attacker cannot be fully unauthenticated (contributor account needed), and sites that do not grant untrusted users contributor+ roles, or that do not use this plugin, are not exposed.

Impact

This is a moderate-severity stored XSS (CVSS 6.4, CWE-79) whose real-world risk is tempered by meaningful preconditions. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C reflects network reachability and low attack complexity but requires PR:L - authenticated contributor-level access - which materially shrinks the attacker pool to users who already have a content-authoring account on the target WordPress site. The scope change (S:C) and C:L/I:L impacts are consistent with XSS executing in victim browsers across a trust boundary, with no availability impact (A:N). Exploitation signals are weak-to-absent: EPSS is 0.31% (22nd percentile), indicating low predicted exploitation probability; the vulnerability is NOT in CISA KEV; and no public proof-of-concept is referenced in the provided data - the only reference is the Wordfence advisory and the WordPress.org plugin/source links. There is no conflict between signals here: a low EPSS, no KEV, and no POC all point the same direction - this is a credible, patch-worthy flaw but not an active, widespread threat. The main residual risk is insider/low-privilege escalation on multi-author sites (e.g., a contributor pivoting to hijack an admin session via injected script), rather than mass remote compromise.

Exploit ScenarioDerived

On a multi-author WordPress site running Redirection for Contact Form 7 ≤3.2.6, a user with contributor-level access crafts a qs_date shortcode with a malicious attribute value that is stored without sanitization. When an administrator or other visitor later views the page containing the shortcode, the injected JavaScript executes in their browser session, potentially enabling session/cookie theft or admin-action forgery. No public exploit code is identified in the provided data, and exploitation requires a pre-existing authenticated contributor account.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 08, 2026

Stored cross-site scripting in the Redirection for Contact Form 7 WordPress plugin (slug wpcf7-redirect) through version 3.2.6 allows authenticated users with contributor-level access or higher to inject arbitrary JavaScript through the unsanitized attributes of the plugin's qs_date shortcode, which is then stored and executed for any user who views the affected page. Because the payload persists on the site, the attacker does not need to trick a victim into clicking a crafted link; impact materializes when an administrator, editor, or front-end visitor renders the page containing the injected shortcode. This is a moderate-severity, CWE-79 issue (CVSS 3.1 base 6.4, AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) with a low EPSS score of 0.31% (22nd percentile); no public exploit code has been identified at time of analysis and there is no indication of confirmed active exploitation.

RemediationAI

The primary fix is to update the Redirection for Contact Form 7 plugin to a release later than 3.2.6 through the WordPress admin Plugins screen or by downloading the current version from https://wordpress.org/plugins/wpcf7-redirect/; the upstream correction is recorded in the plugin repository changeset at https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3378810%40wpcf7-redirect&new=3378810%40wpcf7-redirect&sfp_email=&sfph_mail=, and the vulnerability details are published at https://www.wordfence.com/threat-intel/vulnerabilities/id/5a801bb0-a7fc-42c3-b26f-3f7cdb592bea?source=cve. Upstream fix is available via that repository changeset, but a specific tagged patched version is not independently confirmed in the supplied data, so verify the installed version and plugin changelog after upgrading rather than assuming a version number. If immediate patching is not possible, the most effective compensating control is to stop emitting the vulnerable shortcode: search post and page content for [qs_date and remove or neutralize those shortcodes, and audit contributor-authored content for injected attributes, accepting the trade-off that any legitimate redirect logic relying on qs_date will stop functioning. Organizations that cannot vet contributors can temporarily restrict the contributor role, lower the default new-user role, or require editorial review of all shortcode-bearing submissions, at the cost of disrupting normal publishing workflows. Additionally, sanitize and escape the qs_date attribute values manually if a fork or custom override is maintained, and consider a web application firewall rule or WordPress security plugin that blocks shortcode attributes containing script or event-handler syntax as a defense-in-depth layer, recognizing that signature-based filtering can be bypassed by encoding and is not a substitute for the vendor update. Finally, review the site for already-stored payloads and clear caches, since remediation of the code path does not remove content previously injected.

Affected ProductsAI

All versions up to and including 3.2.6 of the Redirection for Contact Form 7 WordPress plugin, distributed under the slug wpcf7-redirect from the official WordPress plugin directory (https://wordpress.org/plugins/wpcf7-redirect/); the plugin's 3.2.5 tag is directly referenced by the vendor-published code link at https://plugins.trac.wordpress.org/browser/wpcf7-redirect/tags/3.2.5/wpcf7r-functions.php#L558. No CPE identifiers were supplied with the intelligence feed, and no fixed release version is named in the available data, so sites should treat any installation at or below 3.2.6 as affected. The plugin's dependency is Contact Form 7, and exposure is limited to WordPress installations where the plugin is installed and active and where contributor-level or higher accounts exist; sites that do not grant untrusted users contributor privileges, or that leave the plugin inactive, are outside the exposed population.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in the WordPress shortcode layer of the Redirection for Contact Form 7 plugin, which extends the Contact Form 7 ecosystem by redirecting users after form submission. WordPress shortcodes are registered via add_shortcode() and rendered server-side whenever post or page content is processed through do_shortcode(); shortcode attributes are authored by whoever writes the post content and are passed as an associative array to the callback. In wpcf7-redirect the callback handling the qs_date shortcode does not sanitize those user-supplied attributes on input nor escape them on output, so an attacker who can author shortcode-bearing content can plant markup or script that is emitted verbatim into the page HTML. This maps to CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a stored/persistent variant, and explains the CVSS scope-change component (S:C) because the injected script executes in the security context of a different user and origin-adjacent context than the injecting author. Because WordPress processes shortcodes on output rather than at save time, a contributor's pending or previewed draft can also fire the payload when a higher-privileged user reviews it. The 3.2.5 source reference to wpcf7r-functions.php line 558 in the WordPress plugin Trac repository points at the affected shortcode implementation.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Contributor account needed so PR:L; stored payload fires on normal page view (UI:N); XSS crosses into victim browser (S:C) with limited C/I and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Redirection for Contact Form 7 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's qs_date shortcode in all versions up to, and including, 3.2.6 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
popular Contact Form 7 redirect add-on, hundreds of thousands of installs
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy