Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
4.4
Mandatory Field WordPress Plugin Allows Attackers to Inject Malicious Code
CVE-2026-1278
Summary
The Mandatory Field plugin for WordPress can be exploited by attackers with admin-level permissions to inject malicious code into pages, which can be executed when users access them. This affects multi-site installations and those where HTML is not fully allowed. Update to the latest version of the plugin to fix the issue.
Original title
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 outpu...
Original 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.
nvd CVSS3.1
4.4
Vulnerability type
CWE-79
Cross-site Scripting (XSS)
- https://downloads.wordpress.org/plugin/mandatory-fields.1.6.8.zip
- https://plugins.trac.wordpress.org/browser/mandatory-fields/tags/1.6.8/mandatory...
- https://plugins.trac.wordpress.org/browser/mandatory-fields/trunk/mandatory-plug...
- https://wordpress.org/plugins/mandatory-fields/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e262ec15-420a-4f52-90e...
Published: 21 Mar 2026 · Updated: 21 Mar 2026 · First seen: 21 Mar 2026