VulnerabilityAwaiting classification

CVE-2026-8172

HIGH · 7.1 CVSS v3.1 Published 2026-06-23
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
78/100
Remediation priority · High
Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The Simple Basic Contact Form WordPress plugin (versions through 20250114) fails to sanitize or escape user-supplied input before outputting it in the contact form when validation errors occur, creating a reflected Cross-Site Scripting (XSS) vulnerability. Unauthenticated attackers can exploit this by tricking users into clicking crafted links or submitting malicious form data that gets reflected back with the unsanitized input.

MitigationApply proper output escaping (esc_html(), esc_attr(), or similar WordPress sanitization functions) to all user-supplied input before reflecting it in the form output, or update to a patched version if available from the vendor.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Verify plugin installation and version
    In WordPress admin, go to Plugins > Installed Plugins and look for 'Simple Basic Contact Form'. Check the version number listed. If using CLI, check wp-content/plugins/simple-basic-contact-form/ folder for version info in the main PHP file or readme.txt.
    Affected if The version is 20250114 or any earlier version (versions through 20250114 are affected)
  2. Confirm contact form is publicly accessible
    Visit the page where the contact form is embedded (typically the page where you placed the plugin's shortcode). Verify the form loads and accepts user input without authentication.
    Affected if The contact form is publicly visible and functional on the site
  3. Locate form handling code
    In the plugin directory (wp-content/plugins/simple-basic-contact-form/), open the main PHP file(s) and look for the form rendering and validation logic, especially where error messages are displayed back to the user.
    Affected if You can locate the plugin's PHP source code
  4. Inspect for missing output escaping
    Search the form handling code for user-supplied variables (like $_POST or $_GET parameters) that are output in HTML without sanitization functions such as esc_html(), esc_attr(), or similar WordPress escaping functions. Focus on validation error messages that reflect user input back to the form.
    Affected if User input from form fields or URL parameters is being output in the HTML response without being passed through escaping functions like esc_html() or esc_attr()
  5. Test for reflected XSS vulnerability
    Submit a test payload like <script>alert('XSS')</script> or <img src=x onerror=alert(1)> into the contact form fields. If the plugin displays an error (such as required field validation), check if the payload appears unescaped in the returned page source or browser output.
    Affected if The XSS payload is rendered as raw HTML/JavaScript in the error response without being escaped

If the installed version is 20250114 or earlier AND the contact form is publicly accessible AND user-supplied input is reflected without escaping in validation errors, the environment is affected by this reflected XSS vulnerability.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Apply proper output escaping (esc_html(), esc_attr(), or similar WordPress sanitization functions) to all user-supplied input before reflecting it in the form output, or update to a patched version if available from the vendor.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation3.0 h
  • Testing2.0 h
  • Review / QA1.0 h
8.0 hours of engineering $1,420
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,272.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-8172 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-8172 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data