Mandatory Field <= 1.6.8 - Authenticated (Administrator+) Stored Cross-Site Scripting via Settings Fields
Summary
| CVE | CVE-2026-1278 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-03-21 04:16:52 UTC |
| Updated | 2026-04-22 21:32:08 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 4.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
EPSS: 0.000320000 probability, percentile 0.094690000 (date 2026-04-22)
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 4.4 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 4.4 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
HighUser Interaction
NoneScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Ketanmujumdar | Mandatory Field | affected 1.6.8 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/mandatory-fields/tags/1.6.8/mandatory-plugin-option-p... | [email protected] | plugins.trac.wordpress.org | |
| downloads.wordpress.org/plugin/mandatory-fields.1.6.8.zip | [email protected] | downloads.wordpress.org | |
| plugins.trac.wordpress.org/browser/mandatory-fields/trunk/mandatory-plugin-option-page.php | [email protected] | plugins.trac.wordpress.org | |
| wordpress.org/plugins/mandatory-fields | [email protected] | wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/e262ec15-420a-4f52-90e0-e4a2e... | [email protected] | www.wordfence.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Bhumividh Treloges (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-03-20T15:20:13.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.