Description
The Custom New User Notification plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's admin settings in all versions up to, and including, 1.2.0. This is due to insufficient input sanitization and output escaping on multiple settings fields including 'User Mail Subject', 'User From Name', 'User From Email', 'Admin Mail Subject', 'Admin From Name', and 'Admin From Email'. The settings are registered via register_setting() without sanitize callbacks, and the values retrieved via get_option() are echoed directly into HTML input value attributes without esc_attr(). This makes it possible for authenticated attackers, with Administrator-level access and above, to inject arbitrary web scripts in the plugin settings page that will execute whenever a user accesses that page. This could be used in multi-site installations where administrators of subsites could target super administrators.
Published: 2026-04-16
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting via the Custom New User Notification plugin settings page leading to arbitrary script execution for site administrators
Action: Immediate Patch
AI Analysis

Impact

The vulnerability arises because the Custom New User Notification plugin registers multiple email‑related settings without applying sanitization or escaping when storing and rendering them. An attacker who can authenticate as an administrator can inject malicious JavaScript into fields such as "User Mail Subject" or "Admin From Email". When any administrator later visits the plugin’s settings page, the stored script will execute in that staff member’s browser, enabling the attacker to perform actions such as phishing, cookie theft, or form manipulation on behalf of the victim. This is a classic stored XSS flaw that is not mitigated by WordPress core but entirely depends on the plugin’s implementation.

Affected Systems

The affected product is the WordPress plugin "Custom New User Notification" developed by rafasashi. All releases up to, and including, version 1.2.0 are vulnerable. Site administrators using these versions should treat the plugin as compromised until upgraded or removed.

Risk and Exploitability

The CVSS v3 score for this weakness is 4.4, indicating moderate severity. No EPSS data is available, and the flaw is not currently listed in the CISA KEV catalog, implying limited public exploitation yet. The attack vector requires authenticated access with Administrator privileges; therefore, the likelihood of exploitation is tied to the attacker’s ability to gain such credentials. Once authenticated, the flaw can be triggered simply by an administrator re‑visiting the settings page, allowing widespread impact on the site’s admin interface.

Generated by OpenCVE AI on April 16, 2026 at 08:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Custom New User Notification plugin to the latest release that addresses the XSS issue, or remove the plugin entirely if no update is available.
  • Limit Administrator privileges by ensuring only trusted accounts have full admin rights, thereby reducing the number of accounts that could exploit the vulnerability.
  • Apply a site‑wide JavaScript filter or use a reputable security plugin that blocks XSS in admin areas to mitigate the risk if an update is not immediately feasible.
  • Audit other plugin and theme settings for missing sanitization and escaping practices to prevent similar stored XSS vulnerabilities elsewhere on the site.

Generated by OpenCVE AI on April 16, 2026 at 08:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
Link Providers
https://plugins.trac.wordpress.org/browser/custom-new-user-notification/tags/1.2.0/admin/includes.php#L132 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/custom-new-user-notification/tags/1.2.0/admin/includes.php#L46 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/custom-new-user-notification/tags/1.2.0/admin/includes.php#L52 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/custom-new-user-notification/tags/1.2.0/admin/includes.php#L59 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/custom-new-user-notification/tags/1.2.0/admin/includes.php#L84 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/custom-new-user-notification/tags/1.2.0/admin/includes.php#L90 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/custom-new-user-notification/tags/1.2.0/admin/includes.php#L97 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/custom-new-user-notification/tags/1.2.0/custom-new-user-notification.php#L63 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/custom-new-user-notification/trunk/admin/includes.php#L132 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/custom-new-user-notification/trunk/admin/includes.php#L46 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/custom-new-user-notification/trunk/admin/includes.php#L52 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/custom-new-user-notification/trunk/admin/includes.php#L59 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/custom-new-user-notification/trunk/admin/includes.php#L84 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/custom-new-user-notification/trunk/admin/includes.php#L90 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/custom-new-user-notification/trunk/admin/includes.php#L97 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/custom-new-user-notification/trunk/custom-new-user-notification.php#L63 cve-icon cve-icon
https://www.wordfence.com/threat-intel/vulnerabilities/id/7a14d35d-144c-4ddd-b288-5e0e006fb165?source=cve cve-icon cve-icon
History

Thu, 16 Apr 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 16 Apr 2026 09:30:00 +0000

Type Values Removed Values Added
First Time appeared Rafasashi
Rafasashi custom New User Notification
Wordpress
Wordpress wordpress
Vendors & Products Rafasashi
Rafasashi custom New User Notification
Wordpress
Wordpress wordpress

Thu, 16 Apr 2026 05:45:00 +0000

Type Values Removed Values Added
Description The Custom New User Notification plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's admin settings in all versions up to, and including, 1.2.0. This is due to insufficient input sanitization and output escaping on multiple settings fields including 'User Mail Subject', 'User From Name', 'User From Email', 'Admin Mail Subject', 'Admin From Name', and 'Admin From Email'. The settings are registered via register_setting() without sanitize callbacks, and the values retrieved via get_option() are echoed directly into HTML input value attributes without esc_attr(). This makes it possible for authenticated attackers, with Administrator-level access and above, to inject arbitrary web scripts in the plugin settings page that will execute whenever a user accesses that page. This could be used in multi-site installations where administrators of subsites could target super administrators.
Title Custom New User Notification <= 1.2.0 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'User Mail Subject' Setting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Rafasashi Custom New User Notification
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-16T13:42:26.444Z

Reserved: 2026-03-04T18:49:36.648Z

Link: CVE-2026-3551

cve-icon Vulnrichment

Updated: 2026-04-16T13:29:45.270Z

cve-icon NVD

Status : Received

Published: 2026-04-16T06:16:10.530

Modified: 2026-04-16T06:16:10.530

Link: CVE-2026-3551

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-16T09:11:49Z

Weaknesses