CVE-2026-8172
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 · uneditedThe 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 confidenceThe 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.
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 checksWork through these to decide whether this CVE applies to you.
-
Verify plugin installation and versionIn 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)
-
Confirm contact form is publicly accessibleVisit 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
-
Locate form handling codeIn 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
-
Inspect for missing output escapingSearch 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()
-
Test for reflected XSS vulnerabilitySubmit 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.
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 dataApply 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.
- Consultation2.0 h
- Implementation3.0 h
- Testing2.0 h
- Review / QA1.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-8172 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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