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-2026-1278: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ketanmujumdar Mandatory Field

0
Medium
VulnerabilityCVE-2026-1278cvecve-2026-1278cwe-79
Published: Sat Mar 21 2026 (03/21/2026, 03:27:11 UTC)
Source: CVE Database V5
Vendor/Project: ketanmujumdar
Product: Mandatory Field

Description

The Mandatory Field plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.6.8 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/21/2026, 05:01:05 UTC

Technical Analysis

CVE-2026-1278 is a stored Cross-Site Scripting (XSS) vulnerability classified under CWE-79, affecting the Mandatory Field plugin for WordPress up to version 1.6.8. This vulnerability arises from improper neutralization of input during web page generation, specifically due to insufficient sanitization and escaping of administrator-supplied data in the plugin's settings interface. An attacker with administrator-level permissions or higher can inject arbitrary JavaScript code into the plugin's admin settings, which is then stored persistently. When any user visits the affected page, the malicious script executes in their browser context. The vulnerability is limited to WordPress multisite installations or those with the unfiltered_html capability disabled, which restricts users from posting unfiltered HTML content. The CVSS 3.1 score of 4.4 reflects a medium severity, considering the attack vector is network-based but requires high privileges (administrator) and no user interaction is needed for exploitation once the malicious script is stored. The scope is changed because the vulnerability affects multiple users accessing the injected content. No public exploits have been reported yet, but the vulnerability poses risks such as session hijacking, defacement, or further privilege escalation through script execution in victim browsers.

Potential Impact

The primary impact of CVE-2026-1278 is the potential for attackers with administrator privileges to execute arbitrary JavaScript in the context of affected WordPress sites. This can lead to session hijacking, theft of sensitive information, unauthorized actions performed on behalf of other users, and defacement. Since the vulnerability affects multisite installations or those with unfiltered_html disabled, the scope includes environments where multiple sites or users are managed centrally, increasing the potential damage. Attackers could leverage this to compromise site integrity and user trust, potentially leading to reputational damage and regulatory consequences. Although exploitation requires administrator access, the stored nature of the XSS means that all users visiting the infected pages are at risk. This can facilitate lateral movement or persistent footholds within the affected environment. The medium CVSS score reflects a moderate risk, but organizations with high-value WordPress multisite deployments should treat this as a significant concern.

Mitigation Recommendations

1. Upgrade the Mandatory Field plugin to a version that addresses this vulnerability once available. Since no patch links are currently provided, monitor vendor announcements closely. 2. Restrict administrator-level access strictly to trusted personnel to reduce the risk of malicious script injection. 3. Implement Web Application Firewalls (WAFs) with rules to detect and block suspicious script injections in admin settings. 4. Enable Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. 5. Regularly audit multisite WordPress installations for unexpected or unauthorized changes in plugin settings. 6. Where possible, avoid disabling unfiltered_html capability or carefully control which users have this capability. 7. Conduct security training for administrators to recognize and prevent injection of malicious content. 8. Monitor logs and user activity for signs of exploitation attempts or unusual behavior related to plugin settings. 9. Consider isolating multisite environments or using security plugins that provide enhanced input sanitization and output escaping.

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
2026-01-20T22:08:30.988Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69be1806f4197a8e3b783bb2

Added to database: 3/21/2026, 4:01:10 AM

Last enriched: 3/21/2026, 5:01:05 AM

Last updated: 3/22/2026, 6:56:56 AM

Views: 8

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