Skip to main content

Mailgun Subscriptions CVE-2025-11876

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-12 security@wordfence.com
6.4
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as contributor-level user
  2. Exploit
    Inject script into shortcode 'description' attribute
  3. Execution
    Payload stored in page content
  4. Impact
    Executes in visitor/admin browser

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated WordPress account at contributor level or above (PR:L) on a site running the Mailgun Subscriptions plugin version 1.3.1 or earlier (fix appears in 1.3.3). The specific injection point is the 'description' attribute of the 'mailgun_subscription_form' shortcode, which is rendered without input sanitization or output escaping. Limiting factors: the attacker cannot be fully anonymous - they need a trusted contributor account - and the payload only fires when a victim subsequently views the page containing the malicious shortcode, so impact depends on who views the injected page.

Impact

This is a moderate-severity stored XSS (CVSS 6.4, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) that signals a real but bounded risk. The CVSS vector shows network attack vector and low complexity, but critically requires PR:L - contributor-level authentication - which means it is NOT an unauthenticated remote compromise; the attacker must already hold a trusted (if low-privilege) account. EPSS corroborates low near-term exploitation likelihood at 0.22% (12th percentile), and there is no CISA KEV listing and no public proof-of-concept exploit, so all signals are consistent: this is a low-urgency, low-probability issue rather than an actively-weaponized flaw. The scope-changed (S:C) rating reflects that injected script executes in the browser context of any visitor viewing the page, which is the standard justification for the C:L/I:L impact. Bottom line: a genuine vulnerability worth patching in routine cycles, but not an emergency - its risk is gated almost entirely by the contributor-access prerequisite and the absence of any exploitation evidence. One data note: the NVD description states vulnerable 'up to and including 1.3.1,' while the GitHub patch diff shows the sanitization fix shipped in version 1.3.3 (bumped from 1.3.2) - verify the true fixed version before remediation.

Exploit ScenarioDerived

An attacker who holds or obtains a contributor-level WordPress account creates or edits a post containing the 'mailgun_subscription_form' shortcode and places a malicious script payload in the 'description' attribute, which is stored unsanitized. When any site visitor or administrator later views the published page, the injected JavaScript executes in their browser, enabling session/cookie theft or admin-action forgery. No public exploit code has been identified, though the fixing commit is public and reveals the exact vulnerable parameter.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 07, 2026

Stored cross-site scripting in the Mailgun Subscriptions plugin for WordPress (all versions up to and including 1.3.1) allows authenticated attackers with contributor-level access or above to inject arbitrary web scripts through the 'description' attribute of the mailgun_subscription_form shortcode, which is neither sanitized on input nor escaped on output, so the payload executes in the browser of any user who later views the affected page. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N, score 6.4) confirms the attack is network-reachable, requires a low-privileged authenticated account, and carries scope change because the injected script runs in the site's origin and can reach beyond the plugin itself. EPSS is low at 0.22% (12th percentile) and no public exploit code has been identified at time of analysis; the vendor addressed the flaw in version 1.3.3 by wrapping the attribute in wp_kses_post().

RemediationAI

Vendor-released patch: 1.3.3. Update the Mailgun Subscriptions plugin to 1.3.3 or later, which applies wp_kses_post() to the shortcode 'description' attribute as shown in PR #8 commit a8b597e3a09f3a1b76436d09de434fd9bfe29f64 and tracked in the WordPress.org Trac changeset 3413662; the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/149e60cc-9612-4651-b02d-4b68a3533d36?source=cve documents the same fix. If patching must be delayed, deactivate the plugin to remove the vulnerable shortcode and code path entirely, accepting the loss of the subscription form functionality, or temporarily strip the [mailgun_subscription_form] shortcode from any published content so no injected description attribute can render. As a compensating control, restrict post-creation privileges to a small set of fully trusted accounts, because contributor, author, and editor roles can all reach this sink, and audit existing posts and drafts for the shortcode with unexpected markup in the description attribute; this reduces the attack surface but does not fix the underlying output-escaping defect and is difficult to sustain at scale. A custom template or shortcode override that escapes the description with esc_attr()/esc_html() can serve as a stopgap, but any such override will be overwritten by plugin updates and must be reapplied after each upgrade.

Affected ProductsAI

The affected product is the Mailgun Subscriptions plugin for WordPress, with every release up to and including 1.3.1 vulnerable. The vulnerable sink appears in Mailgun_Subscriptions/Shortcode_Handler.php in later builds and in Mailgun_Subscriptions/Subscription_Form.php (line 101) in the 1.2.0 tag referenced by NVD, both reachable through the mailgun_subscription_form shortcode's description attribute. The fix is published as PR #8 on the flightless/mailgun-subscriptions GitHub repository (commit a8b597e3a09f3a1b76436d09de434fd9bfe29f64) and mirrored in the WordPress.org plugin Trac changeset 3413662, where the readme stable tag advances from 1.3.2 to 1.3.3, marking 1.3.3 as the first fixed release. No CPE strings were supplied in the provided intelligence, so asset matching should rely on the plugin slug and version comparison (mailgun-subscriptions <= 1.3.1); the Wordfence threat-intelligence advisory (ID 149e60cc-9612-4651-b02d-4b68a3533d36) is the primary coordinating reference.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The plugin registers the [mailgun_subscription_form] shortcode through the WordPress Shortcode API, and the handler in Mailgun_Subscriptions/Shortcode_Handler.php previously assigned 'description' => $atts['description'] straight into rendered output with no filtering. This is a textbook CWE-79 (Improper Neutralization of Input During Web Page Generation) stored XSS: shortcode attributes are persisted inside post content, so a contributor-level user can save a crafted description attribute that is later emitted unescaped to every visitor of that page. The scope-changed rating (S:C) reflects that the executed script runs with the WordPress site's origin and can touch resources outside the plugin, while C:L/I:L reflects the typical bounded impact of XSS in this context; PR:L reflects that the attacker must hold a contributor account rather than being anonymous, and the UI:N rating corresponds to the payload firing automatically on page view. The upstream fix in PR #8 (commit a8b597e3a09f3a1b76436d09de434fd9bfe29f64) applies wp_kses_post() to the description attribute, stripping unsafe markup, and the same change set bumps the plugin's version and stable tag to 1.3.3 with a changelog entry explicitly crediting the added shortcode-description sanitization.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Contributor authentication is required so PR:L; stored injection needs no attacker-side complexity or victim interaction (AC:L/UI:N), and script executing in a visitor's browser crosses a trust boundary (S:C) with limited C/I impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Mailgun Subscriptions plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'mailgun_subscription_form' shortcode in all versions up to, and including, 1.3.1 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
niche WordPress email-subscription plugin, limited install base
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy