Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-13521 Overview
CVE-2024-13521 is a Cross-Site Request Forgery (CSRF) vulnerability in the MailUp Auto Subscription plugin for WordPress. The flaw affects all versions up to and including 1.1.0. The vulnerability stems from missing or incorrect nonce validation on the mas_options function. Unauthenticated attackers can update plugin settings and inject malicious web scripts by tricking a site administrator into clicking a crafted link. The weakness is categorized under CWE-352: Cross-Site Request Forgery.
Critical Impact
An attacker who successfully coerces an authenticated administrator into visiting a malicious URL can modify plugin configuration and inject stored scripts, leading to persistent script execution in the administrator's browser context.
Affected Products
- Ilghera MailUp Auto Subscription plugin for WordPress, versions up to and including 1.1.0
- WordPress sites running the plugin with the mas_options function exposed
- Administrator sessions on affected WordPress installations
Discovery Timeline
- 2025-01-28 - CVE-2024-13521 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-13521
Vulnerability Analysis
The MailUp Auto Subscription plugin exposes an administrative settings handler named mas_options. This handler processes POST requests that update plugin configuration without verifying a WordPress nonce token. Nonce tokens are the primary CSRF defense in WordPress, binding a request to a specific user and action.
Because the plugin does not validate the nonce correctly, any state-changing request to the settings endpoint is accepted as long as the victim has a valid session cookie. The result is that attacker-controlled values are written into the plugin configuration and later rendered in administrative pages, enabling script injection alongside configuration tampering.
Root Cause
The root cause is the absence of a check_admin_referer() or wp_verify_nonce() call on the mas_options settings-handling path. WordPress plugins must pair administrative forms with a nonce field and validate it on submission. The plugin accepted settings updates based solely on the authenticated session, violating the defense model that WordPress expects for privileged actions.
Attack Vector
Exploitation requires user interaction. An attacker hosts a page that auto-submits a form or triggers an image request against the vulnerable administrator endpoint. When a logged-in WordPress administrator visits that page or clicks a link to it, the browser attaches the admin session cookie, and the plugin processes the forged settings update. Payloads can include HTML or JavaScript that is later executed in the context of the admin dashboard. See the Wordfence Vulnerability Report for additional analysis.
No verified public proof-of-concept code is available for this issue, and no exploit has been reported in the wild.
Detection Methods for CVE-2024-13521
Indicators of Compromise
- Unexpected modifications to MailUp Auto Subscription plugin settings in the WordPress database option tables
- Administrator-triggered POST requests to the plugin settings endpoint originating from Referer headers outside the WordPress admin domain
- Script tags or inline JavaScript stored in plugin configuration fields that are rendered on admin pages
Detection Strategies
- Review web server access logs for POST requests to the plugin's admin handler with external or missing Referer headers
- Audit the WordPress wp_options table for plugin settings values containing HTML or script content
- Alert on administrator account activity that updates plugin configuration shortly after visiting external links
Monitoring Recommendations
- Enable WordPress audit logging to capture plugin settings changes with user, timestamp, and source IP
- Monitor the WordPress plugins directory for installations of mailup-auto-subscribtion at version 1.1.0 or earlier
- Track outbound administrator browsing against newly registered or low-reputation domains using DNS and proxy telemetry
How to Mitigate CVE-2024-13521
Immediate Actions Required
- Upgrade the MailUp Auto Subscription plugin to version 1.2.0 or later on all WordPress installations
- Review current plugin settings and remove any unexpected HTML or script content from configuration fields
- Rotate administrator credentials if forged configuration changes are suspected
Patch Information
The vendor fixed this issue in version 1.2.0 of the plugin. The code change is visible in the WordPress Plugin Update Log, which shows the diff between 1.1.0 and 1.2.0. Administrators should apply this update through the WordPress plugin manager or by replacing the plugin files directly.
Workarounds
- Deactivate and remove the MailUp Auto Subscription plugin until the patched version is installed
- Restrict access to /wp-admin/ by IP allowlist at the web server or WAF layer to reduce CSRF exposure
- Require administrators to use a dedicated browser profile for WordPress administration to limit cross-origin session reuse
# Configuration example: upgrade via WP-CLI
wp plugin update mailup-auto-subscribtion --version=1.2.0
wp plugin list --name=mailup-auto-subscribtion --fields=name,status,version
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

