CVE-2025-12834
Unknown Unknown - Not Provided
Reflected XSS in Contact Form 7 Stripe Plugin Allows Script Injection

Publication date: 2025-12-12

Last updated on: 2026-04-08

Assigner: Wordfence

Description
The Accept Stripe Payments Using Contact Form 7 plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'failure_message' parameter in versions up to, and including, 3.1 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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-12
Last Modified
2026-04-08
Generated
2026-05-07
AI Q&A
2025-12-12
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wordpress contact_form_7 3.1
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by inspecting HTTP requests that include the 'failure_message' parameter in the Accept Stripe Payments Using Contact Form 7 plugin forms. You can look for reflected Cross-Site Scripting (XSS) payloads in this parameter. For example, using command-line tools like curl or grep to search web server logs for suspicious 'failure_message' parameters containing script tags or JavaScript code. A sample command to search logs could be: grep -i 'failure_message=.*<script' /var/log/apache2/access.log. Additionally, manual testing by submitting forms with crafted payloads in the 'failure_message' parameter to see if the script executes can help detect the vulnerability. [1]


Can you explain this vulnerability to me?

This vulnerability is a Reflected Cross-Site Scripting (XSS) issue in the Accept Stripe Payments Using Contact Form 7 plugin for WordPress. It occurs via the 'failure_message' parameter in versions up to 3.1 due to insufficient input sanitization and output escaping. An unauthenticated attacker can inject malicious scripts that execute when a user is tricked into performing an action like clicking a link.


How can this vulnerability impact me? :

The vulnerability can allow attackers to execute arbitrary scripts in the context of the affected website, potentially leading to theft of user data, session hijacking, or other malicious actions. Since it requires user interaction, the attacker must trick users into clicking a crafted link, which can compromise user security and trust.


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include updating the Accept Stripe Payments Using Contact Form 7 plugin to a version later than 3.1 where the vulnerability is fixed. If an update is not available, temporarily disabling the plugin or removing the vulnerable functionality related to the 'failure_message' parameter can reduce risk. Additionally, implementing Web Application Firewall (WAF) rules to block requests containing suspicious scripts in the 'failure_message' parameter can help prevent exploitation. Educating users to avoid clicking on suspicious links that might trigger the reflected XSS is also recommended. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart