MailmunchWordPress extension

CVE-2024-31349

MEDIUM · 5.4 CVSS v3.1 Published 2024-04-07
Fix available
A fix is available. Upgrade to 3.1.7 or later.
See remediation →
58/100
Remediation priority · Elevated
Remotely reachable

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
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in MailMunch MailMunch – Grow your Email List allows Stored XSS.This issue affects MailMunch – Grow your Email List: from n/a through 3.1.6.

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 · moderate confidence

A stored cross-site scripting (XSS) vulnerability exists in the MailMunch WordPress plugin (versions through 3.1.6). The vulnerability stems from improper neutralization of user-supplied input during web page generation, allowing malicious scripts to be persistently stored and executed when other users view affected content.

MitigationUpdate the MailMunch plugin to the latest version once available, which should include proper input sanitization and output encoding. Until then, restrict administrative access and validate that all user inputs are properly escaped before storage and display.

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

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
MailmunchWordPress extension
Affected:< 3.1.7

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
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

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. Check the installed MailMunch plugin version
    Log into the WordPress admin dashboard and navigate to Plugins > Installed Plugins. Find MailMunch in the list and note the version number displayed. Alternatively, use WP-CLI: wp plugin list --name=mailmunch --format=table
    Affected if The installed version is 3.1.6 or lower (any version before 3.1.7)
  2. Identify if MailMunch forms are active on the site
    Navigate to MailMunch in the WordPress admin sidebar. Check if any email signup forms, popups, or landing pages have been created and published. Note the number and type of active forms.
    Affected if The plugin has active forms, popups, or landing pages that collect user input, as the XSS vulnerability affects user-supplied input during form submission
  3. Inspect stored form submissions for malicious scripts
    Access the WordPress database via phpMyAdmin or WP-CLI. Query the MailMunch-related tables (often prefixed with wp_mailmunch_ or similar) for any script tags or HTML in submitted data. Example SQL: SELECT * FROM wp_posts WHERE post_content LIKE '%<script%' OR post_content LIKE '%onerror=%';
    Affected if Any stored form submissions, subscriber data, or content fields contain unsanitized script tags, iframe elements, or event handlers like onerror/onload
  4. Review browser console for XSS errors when viewing MailMunch content
    Visit any published MailMunch form, popup, or landing page in a web browser. Open the browser developer console (F12) and check for any script execution errors or injected scripts executing unexpectedly.
    Affected if Unexpected scripts execute or console shows errors related to injected JavaScript when viewing MailMunch-generated content

You are affected if the MailMunch plugin version is 3.1.6 or lower AND the plugin has active forms or landing pages that accept user input, as the stored XSS vulnerability allows malicious scripts to be persistently injected through these input points.

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.

dbcve · scoped
Upgrade available Upgrade to 3.1.7 or later
Fixed in 3.1.7
Interim mitigation

Update the MailMunch plugin to the latest version once available, which should include proper input sanitization and output encoding. Until then, restrict administrative access and validate that all user inputs are properly escaped before storage and display.

Recommended fix High confidence

MailMunch plugin version 3.1.7 or later

  1. 1. Create a full backup of your WordPress site (database and files) before making any changes
  2. 2. Navigate to Plugins > Installed Plugins in your WordPress admin dashboard
  3. 3. Locate the MailMunch – Grow your Email List plugin
  4. 4. If an update is available, click 'Update Now' to upgrade to version 3.1.7 or later
  5. 5. Alternatively, you can manually download version 3.1.7 or latest stable version from the WordPress plugin repository and upload it via Plugins > Add New > Upload Plugin
  6. 6. After updating, verify the plugin is running version 3.1.7 or later in the Plugins list
  7. 7. Test that the email collection forms on your site are functioning correctly
  8. 8. Clear any site caches if you use caching plugins

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Mailmunch Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
11.0 hours of engineering $1,930
Get the upgrade done

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-31349 — 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-2024-31349 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