Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-11876: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in jbrinley Mailgun Subscriptions

0
Medium
VulnerabilityCVE-2025-11876cvecve-2025-11876cwe-79
Published: Fri Dec 12 2025 (12/12/2025, 07:20:33 UTC)
Source: CVE Database V5
Vendor/Project: jbrinley
Product: Mailgun Subscriptions

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 19:35:43 UTC

Technical Analysis

CVE-2025-11876 is a stored cross-site scripting vulnerability identified in the Mailgun Subscriptions plugin for WordPress, maintained by jbrinley. The flaw exists in all versions up to and including 1.3.1, specifically within the 'mailgun_subscription_form' shortcode. The vulnerability stems from insufficient sanitization and escaping of user-supplied attributes, allowing authenticated users with contributor-level access or higher to inject arbitrary JavaScript code into pages. When other users access these pages, the malicious scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions within the context of the affected site. The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), a common and impactful web security issue. The CVSS v3.1 base score is 6.4, reflecting a medium severity level, with an attack vector of network, low attack complexity, requiring privileges (PR:L), no user interaction, and a scope change. No public exploits have been reported yet, but the vulnerability poses a significant risk due to the widespread use of WordPress and the plugin. The vulnerability's exploitation requires authenticated access, which somewhat limits exposure but does not eliminate risk, especially on sites with multiple contributors. The lack of patch links suggests that a fix may not yet be publicly available, emphasizing the need for interim mitigations.

Potential Impact

The impact of CVE-2025-11876 is considerable for organizations running WordPress sites with the vulnerable Mailgun Subscriptions plugin. Successful exploitation allows attackers to execute arbitrary scripts in the context of the affected website, potentially leading to theft of user credentials, session tokens, or other sensitive information. It can also facilitate further attacks such as defacement, redirection to malicious sites, or installation of persistent backdoors. Since the vulnerability is stored XSS, the malicious payload persists and affects all users visiting the compromised page, amplifying the potential damage. Organizations with multiple contributors or less stringent access controls are at higher risk. The compromise of user trust and potential data breaches can lead to reputational damage, regulatory penalties, and financial losses. Additionally, attackers could leverage this vulnerability to pivot into more critical systems if the WordPress site is part of a larger infrastructure. The medium CVSS score reflects the balance between the need for authentication and the significant consequences of exploitation.

Mitigation Recommendations

To mitigate CVE-2025-11876, organizations should first verify if they use the Mailgun Subscriptions plugin and identify the version in use. Until an official patch is released, the following specific steps are recommended: 1) Restrict contributor-level and higher privileges to trusted users only, minimizing the risk of malicious input. 2) Implement Web Application Firewall (WAF) rules to detect and block suspicious script injection patterns in requests related to the 'mailgun_subscription_form' shortcode. 3) Conduct manual or automated code reviews to sanitize and escape all user-supplied inputs in the plugin's shortcode implementation, applying custom patches if feasible. 4) Monitor logs and user activity for unusual behavior indicative of exploitation attempts. 5) Educate site administrators and contributors about the risks of injecting untrusted content. 6) Consider temporarily disabling the plugin or the vulnerable shortcode if the risk is unacceptable and no patch is available. 7) Stay alert for official updates or patches from the vendor and apply them promptly once released. These targeted actions go beyond generic advice by focusing on access control, input validation, and proactive monitoring specific to this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-10-16T16:35:35.329Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 693bc3e35f3fdafda42e6cd6

Added to database: 12/12/2025, 7:27:31 AM

Last enriched: 2/27/2026, 7:35:43 PM

Last updated: 3/24/2026, 4:42:30 PM

Views: 102

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses