Skip to main content
Vulnerability Database/CVE-2024-10048

CVE-2024-10048: Post Status Notifier XSS Vulnerability

CVE-2024-10048 is a reflected cross-site scripting flaw in Post Status Notifier plugins for WordPress that allows attackers to inject malicious scripts. This article covers the technical details, affected versions, and mitigation strategies.

Published:

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-10048 Overview

CVE-2024-10048 is a Reflected Cross-Site Scripting (XSS) vulnerability affecting the Post Status Notifier Lite and Premium plugins for WordPress. The flaw exists in all versions up to and including 1.11.6 and stems from insufficient input sanitization and output escaping on the page parameter. Unauthenticated attackers can inject arbitrary web scripts that execute when a victim clicks a crafted link. Successful exploitation enables session theft, administrative action abuse, and delivery of further payloads within the WordPress admin context. The issue is tracked under CWE-79.

Critical Impact

Unauthenticated attackers can execute arbitrary JavaScript in the browser of any user tricked into clicking a malicious link, enabling account takeover of WordPress administrators.

Affected Products

  • Post Status Notifier Lite plugin for WordPress (versions ≤ 1.11.6)
  • Post Status Notifier Premium plugin for WordPress (versions ≤ 1.11.6)
  • WordPress sites with vulnerable versions installed and active

Discovery Timeline

  • 2024-10-29 - CVE-2024-10048 published to the National Vulnerability Database
  • Plugin version 1.11.7 - Fix released via WordPress plugin changeset 3174969
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-10048

Vulnerability Analysis

The vulnerability is a Reflected Cross-Site Scripting flaw in the plugin's admin interface. The page parameter supplied via HTTP GET requests is reflected into rendered HTML without proper sanitization or output escaping. An attacker crafts a URL containing JavaScript payload values in the page parameter and lures an authenticated WordPress user into clicking it. When the victim's browser renders the response, the injected script executes within the trusted origin of the WordPress site.

Because the attack succeeds against any authenticated role, including administrators, the attacker can hijack sessions, forge privileged actions, modify site content, or pivot to install malicious plugins. The CVSS vector shows a scope change, indicating that successful exploitation affects resources beyond the vulnerable component.

Root Cause

The root cause is missing input sanitization on the page request parameter and absent output escaping when the value is written back into HTML. The affected code path lives in lib/Psn/Admin/ListTable/Rules.php, which was corrected in version 1.11.7 according to the WordPress plugin changeset. WordPress provides helper functions such as esc_attr(), esc_html(), and sanitize_text_field() that were not applied to user-controlled input.

Attack Vector

Exploitation requires an attacker to send a victim a crafted URL pointing to the WordPress admin page handled by the plugin, with a malicious payload embedded in the page query string parameter. User interaction is required because the victim must visit the URL while authenticated to WordPress. No credentials are required of the attacker. See the Wordfence Vulnerability Analysis for additional technical context.

Detection Methods for CVE-2024-10048

Indicators of Compromise

  • HTTP GET requests to WordPress admin endpoints containing script tags, JavaScript event handlers, or encoded payloads in the page parameter.
  • Unexpected outbound requests from administrator browsers to attacker-controlled domains shortly after clicking a link.
  • Creation of new WordPress administrator accounts or unexpected plugin installations following suspicious admin sessions.

Detection Strategies

  • Deploy a Web Application Firewall (WAF) rule to flag HTTP requests containing suspicious characters or script fragments in the page query parameter.
  • Review WordPress and web server access logs for URLs targeting the Post Status Notifier plugin admin pages with abnormal query strings.
  • Scan installed WordPress plugins and compare versions against the fixed release 1.11.7 or later.

Monitoring Recommendations

  • Enable detailed access logging on wp-admin endpoints and forward logs to a centralized analytics platform for query-based hunting.
  • Monitor administrator session activity for anomalous actions such as user role changes, plugin uploads, or theme file edits.
  • Alert on referrer headers from external domains leading directly into wp-admin URLs with query parameters.

How to Mitigate CVE-2024-10048

Immediate Actions Required

  • Update the Post Status Notifier Lite and Premium plugins to version 1.11.7 or later on all WordPress installations.
  • Audit WordPress administrator accounts for unauthorized users or recent privilege changes.
  • Force password resets and invalidate active sessions for administrator accounts if compromise is suspected.

Patch Information

The vendor addressed the vulnerability in Post Status Notifier version 1.11.7. The corrective change is documented in the WordPress plugin repository changeset, which adds proper handling of the page parameter in lib/Psn/Admin/ListTable/Rules.php.

Workarounds

  • Deactivate and remove the Post Status Notifier plugin until the update to 1.11.7 can be applied.
  • Implement WAF rules that strip or block script-like content in query parameters directed at wp-admin pages.
  • Enforce strict Content Security Policy (CSP) headers on WordPress admin pages to reduce inline script execution risk.
bash
# Configuration example: update the plugin via WP-CLI
wp plugin update post-status-notifier-lite --version=1.11.7
wp plugin list --name=post-status-notifier-lite --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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.