Simple Newsletter Plugin <= 4.3.10 - Unauthenticated Stored Cross-Site Scripting via Subscriber Custom Field via Manage Preferences Form + Campaign Preview noptin_key Pivot
What fixes it
No source in this snapshot names a fixed version.
Description
The Simple Newsletter Plugin – Noptin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'noptin_fields[<custom_field_merge_tag>] (e.g. first_name)' parameter in all versions up to, and including, 4.3.10 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The attack chain requires a published campaign post whose body contains a [[subscriber.*]] merge tag; the unauthenticated attacker first POSTs the entity-encoded payload to the public manage_preferences form (which issues its own nonce on the same page), then pivots execution by embedding their confirm_key in a campaign preview URL sent to a privileged user via social engineering.
Text from CVE List
Affected versions 1
- Noptin – Newsletter, New Post Notifications & Email Automationaffected: all versions through 4.3.10CVE List
References 10
- wordfence.com/threat-intel/vulnerabilities/id/e5f8afa3-f20c-4dfb-bcc6-2682f68723ca?source=cveReferencevia CVE List
- plugins.trac.wordpress.org/browser/newsletter-optin-box/tags/4.3.10/build/Emails/Preview.php#L161Referencevia CVE List
- plugins.trac.wordpress.org/browser/newsletter-optin-box/tags/4.3.10/build/Emails/Generate/Generator.php#L548Referencevia CVE List
- plugins.trac.wordpress.org/browser/newsletter-optin-box/tags/4.3.10/build/Core/Dynamic_Content_Tags.php#L507Referencevia CVE List
- plugins.trac.wordpress.org/browser/newsletter-optin-box/tags/4.3.10/build/Core/Dynamic_Content_Tags.php#L361Referencevia CVE List
- plugins.trac.wordpress.org/browser/newsletter-optin-box/tags/4.3.10/build/Core/Dynamic_Content_Tags.php#L695Referencevia CVE List
- plugins.trac.wordpress.org/browser/newsletter-optin-box/tags/4.3.10/build/Subscribers/functions.php#L937Referencevia CVE List
- plugins.trac.wordpress.org/browser/newsletter-optin-box/tags/4.3.10/build/Subscribers/Manage_Preferences.php#L255Referencevia CVE List
- plugins.trac.wordpress.org/browser/newsletter-optin-box/tags/4.3.10/vendor/hizzle/store/src/Prop.php#L626Referencevia CVE List
- github.com/hizzle-co/noptin/compare/4.3.10...4.4.0Referencevia CVE List