CVE-2026-8172
Received Received - Intake
Reflected XSS in Simple Basic Contact Form WordPress Plugin

Publication date: 2026-06-23

Last updated on: 2026-06-23

Assigner: WPScan

Description
The Simple Basic Contact Form WordPress plugin through 20250114 does not escape user-supplied input before reflecting it into the contact form output on validation errors, leading to a Reflected Cross-Site Scripting vulnerability that unauthenticated attackers can exploit against site visitors via a crafted link or cross-site form submission.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-23
Last Modified
2026-06-23
Generated
2026-06-23
AI Q&A
2026-06-23
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Currently, no data is known.
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The Simple Basic Contact Form WordPress plugin version 20250114 or earlier contains a Reflected Cross-Site Scripting (XSS) vulnerability. This happens because the plugin does not properly escape user-supplied input before displaying it back in the contact form output when validation errors occur.

As a result, an unauthenticated attacker can craft a malicious link or form submission that, when visited or submitted by a site visitor, executes malicious JavaScript code in the visitor's browser.

The vulnerability can be exploited by sending POST requests with malicious payloads in form fields such as scf_name, scf_email, or scf_confirm_email, which are reflected without sanitization, enabling JavaScript execution through attributes like autofocus and onfocus.

Impact Analysis

This vulnerability can allow attackers to execute arbitrary JavaScript code in the browsers of your site visitors without authentication.

Potential impacts include theft of user session cookies, redirection to malicious websites, defacement of the website content, or other malicious actions performed on behalf of the visitor.

Because the attack is reflected and requires the victim to click a crafted link or submit a malicious form, it can be used in phishing or social engineering attacks targeting your users.

Detection Guidance

This vulnerability can be detected by sending crafted POST requests to the Simple Basic Contact Form plugin with malicious payloads in form fields such as scf_name, scf_email, or scf_confirm_email. If the plugin reflects these inputs without proper escaping, it indicates the presence of the Reflected Cross-Site Scripting vulnerability.

For example, you can use curl commands to test the vulnerability by submitting payloads that include JavaScript event handlers like autofocus or onfocus in these fields and observe if the response reflects the payload unsanitized.

If the response contains the injected script tags or event handlers without escaping, the vulnerability is present.

Mitigation Strategies

As there is no known fix available at the time of disclosure, immediate mitigation steps include:

  • Disable or deactivate the Simple Basic Contact Form plugin until a patch or update is released.
  • Implement Web Application Firewall (WAF) rules to block or sanitize requests containing suspicious payloads targeting the vulnerable form fields.
  • Educate site users and administrators to avoid clicking on suspicious links that may exploit this vulnerability.
  • Monitor web server logs for unusual POST requests to the contact form that include script tags or event handlers.
Compliance Impact

The vulnerability is a Reflected Cross-Site Scripting (XSS) issue in the Simple Basic Contact Form WordPress plugin that allows unauthenticated attackers to execute malicious JavaScript in site visitors' browsers. Such vulnerabilities can lead to unauthorized access to user data or session hijacking, which may impact compliance with data protection standards like GDPR and HIPAA by potentially exposing personal or sensitive information.

However, the provided information does not explicitly describe the direct impact of this vulnerability on compliance with specific regulations such as GDPR or HIPAA.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-8172. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart