Custom New User Notification <= 1.2.0 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'User Mail Subject' Setting
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- rafasashi Custom New User Notification
through 1.2.0
References 17
plugins.trac.wordpress.org
- browser/custom-new-user-notification/trunk/admin/includes.php#L46
- browser/custom-new-user-notification/tags/1.2.0/admin/includes.php#L46
- browser/custom-new-user-notification/trunk/admin/includes.php#L52
- browser/custom-new-user-notification/tags/1.2.0/admin/includes.php#L52
- browser/custom-new-user-notification/trunk/admin/includes.php#L59
- browser/custom-new-user-notification/tags/1.2.0/admin/includes.php#L59
- browser/custom-new-user-notification/trunk/admin/includes.php#L84
- browser/custom-new-user-notification/tags/1.2.0/admin/includes.php#L84
- browser/custom-new-user-notification/trunk/admin/includes.php#L90
- browser/custom-new-user-notification/tags/1.2.0/admin/includes.php#L90
- browser/custom-new-user-notification/trunk/admin/includes.php#L97
- browser/custom-new-user-notification/tags/1.2.0/admin/includes.php#L97
- browser/custom-new-user-notification/trunk/admin/includes.php#L132
- browser/custom-new-user-notification/tags/1.2.0/admin/includes.php#L132
- browser/custom-new-user-notification/trunk/custom-new-user-notification.php#L63
- browser/custom-new-user-notification/tags/1.2.0/custom-new-user-notification.php#L63