HDWebmobile Product Enquiry

HDWebmobile Product Enquiry banner

HDWebmobile Product Enquiry

Let customers ask a question about a product before buying. Every field is escaped at the point of output, everywhere.

Overview

HDWebmobile Product Enquiry adds a simple “Ask a question about this product” form to every product page. Questions are emailed to the store admin and listed under WooCommerce > HDWebmobile > Product Enquiries, where staff can reply — the reply is emailed straight back to the customer.

Why This Plugin Exists

A competing “Product Enquiry for WooCommerce” plugin had an unauthenticated stored/reflected XSS vulnerability (CVE-2026-59512): customer-submitted enquiry content was rendered back out as HTML without proper escaping, so an attacker could submit a question containing a script payload that would execute in the browser of any staff member who viewed it in wp-admin — a direct path to administrator account takeover. This plugin closes that exact vulnerability class by construction:

  • Every customer-controlled value — name, email, message, and later the admin’s reply — passes through esc_html() at the exact point it is printed as HTML, with no exceptions.
  • Input is still sanitized on the way in as defense in depth, but the actual fix lives at output time, not input time — sanitizing on save and forgetting to escape on display is exactly the mistake that caused the original CVE.
  • Admin notification and customer reply emails are sent as plain text, so there is no HTML-rendering surface in the email itself either.
  • A honeypot field filters automated spam submissions before they ever reach the database, with no CAPTCHA service or external dependency required.

Key Features

  • “Ask a question about this product” form on every product page
  • Admin email notification the moment a question is submitted
  • All questions listed under WooCommerce > HDWebmobile > Product Enquiries
  • Reply from wp-admin — the customer receives it by email automatically
  • Honeypot spam protection, no third-party service required

How to Use

1. Customers ask a question. On any product page, a customer fills in their name, email, and question, and submits it — no account required.

2. You get notified. The store admin email address receives a notification the moment a question comes in.

3. You reply from wp-admin. Under WooCommerce > HDWebmobile > Product Enquiries, type a reply and send it — it’s emailed straight to the customer.

Limitations

Please read before installing:

  • Replies are sent by email only — there is no customer-facing “my questions” account page in this version
  • One question per submission — no threaded back-and-forth conversation yet

Quick Setup

  1. Upload the plugin files to the /wp-content/plugins/hdwebmobile-product-enquiry directory, or install through the Plugins screen directly.
  2. Activate the plugin. WooCommerce must already be installed and active.
  3. That’s it — the enquiry form appears automatically on every product page.

Latest Version

Current stable version in readme: 1.0.0 (Initial release: product-page enquiry form, admin email notification, reply-by-email from wp-admin, honeypot spam protection, output escaped everywhere a customer-submitted value is displayed.)

See our other WordPress plugins for more WooCommerce and site-utility tools.

Need it set up on your store?

Our plugins are free and fully featured. If you’d rather not configure it yourself, we install, set up and test it on your store from €79, and we can build custom changes on top.

Ready to start your project?

Share your brief and we’ll propose the right approach — a full site, a landing page, or a custom plugin.