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., |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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
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.
Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-14155
GHSA-58r6-ffpc-qpg6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB