Skip to main content
Vulnerability Database/CVE-2026-87761

CVE-2026-87761: Adwised Web Push Notification XSS Flaw

CVE-2026-87761 is a stored cross-site scripting vulnerability in Adwised Web Push Notification WordPress plugin that lets authenticated users inject malicious scripts. This article covers technical details, affected versions, and mitigation.

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-2026-87761 Overview

CVE-2026-87761 affects the Adwised Web Push Notification WordPress plugin through version 2.5.7. The plugin fails to perform capability or nonce checks before allowing an authenticated user to overwrite site-wide configuration values. It also fails to escape those configuration values before rendering them inside an inline script block on every front-end page. Any authenticated user, including a low-privilege subscriber, can inject arbitrary JavaScript that executes in the browser of every visitor, including administrators. This condition maps to Cross-Site Scripting [CWE-79] and can lead to full site takeover through administrator session hijacking.

Critical Impact

A subscriber-level account can persist JavaScript into the global site configuration and execute it in every visitor's browser, including administrators, enabling account compromise and site takeover.

Affected Products

  • Adwised Web Push Notification WordPress plugin, versions up to and including 2.5.7
  • WordPress sites with any registered user role (including subscriber) permitted to authenticate
  • Front-end pages rendering the plugin's inline configuration script

Discovery Timeline

  • 2026-10-11 - CVE-2026-87761 published to the National Vulnerability Database (NVD)
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-87761

Vulnerability Analysis

The Adwised Web Push Notification plugin exposes a configuration update endpoint that lacks server-side authorization logic. The handler does not verify that the requesting user holds an administrative capability such as manage_options, and it does not validate a WordPress nonce to confirm request intent. Any user capable of authenticating to wp-admin can submit a request that overwrites the plugin's stored options.

The plugin then injects those stored option values directly into an inline <script> block emitted on every front-end page load. Because the output path omits escaping routines such as esc_js() or wp_json_encode(), attacker-supplied content breaks out of the intended string context and executes as JavaScript. The resulting script runs in the security context of the vulnerable site for every visitor, including signed-in administrators.

Root Cause

Two defects combine to produce this vulnerability. First, the configuration save handler is missing both a capability check and a nonce check, violating the WordPress security model that requires both for privileged state changes. Second, the configuration render path writes untrusted input into executable JavaScript context without escaping, which is the classic Stored XSS pattern described in [CWE-79].

Attack Vector

An attacker registers or uses an existing low-privilege account such as a subscriber. The attacker sends a crafted POST request to the plugin's unprotected settings endpoint, embedding a JavaScript payload inside a configuration field. The payload is persisted in the WordPress options table. On the next page load for any visitor, the plugin emits the payload into an inline script tag, and the browser executes it. An attacker commonly uses this primitive to create a new administrator account, exfiltrate session cookies, or inject a backdoor into theme files through the administrator's authenticated session.

No exploitation code is published for this CVE at the time of writing. See the WPScan Vulnerability Report for technical specifics.

Detection Methods for CVE-2026-87761

Indicators of Compromise

  • Unexpected <script> content inserted into the plugin's inline configuration block on front-end pages
  • New administrator accounts created shortly after visits by signed-in administrators
  • Modifications to WordPress wp_options rows owned by the Adwised Web Push Notification plugin that contain HTML or JavaScript characters such as <, >, or </script>
  • Outbound requests from visitor browsers to attacker-controlled domains referenced by injected scripts

Detection Strategies

  • Review the plugin's option rows in wp_options for payloads containing script tags, event handlers, or URL-encoded JavaScript
  • Enable WordPress audit logging to capture authenticated POST requests from non-administrative users to the plugin's settings endpoints
  • Scan rendered front-end HTML for unexpected inline script content attributed to the plugin

Monitoring Recommendations

  • Alert on creation of new users with the administrator role outside of change windows
  • Monitor web server access logs for POST requests to plugin admin-ajax or admin-post actions originating from subscriber-level sessions
  • Deploy a Content Security Policy (CSP) in report-only mode to surface unexpected inline script execution on public pages

How to Mitigate CVE-2026-87761

Immediate Actions Required

  • Deactivate the Adwised Web Push Notification plugin until a patched release is confirmed
  • Audit all WordPress user accounts and remove unknown or unused subscriber accounts
  • Inspect the plugin's option values in the database and reset any entries containing HTML or JavaScript
  • Rotate administrator credentials and invalidate active sessions if exploitation is suspected

Patch Information

No fixed version has been published in the referenced advisory at the time of writing. Versions through 2.5.7 are affected. Monitor the WPScan Vulnerability Report and the plugin's WordPress.org listing for an updated release that adds capability checks, nonce verification, and output escaping on the configuration render path.

Workarounds

  • Disable user registration under Settings > General if subscriber accounts are not required
  • Restrict access to wp-admin and admin-ajax.php using a web application firewall rule that blocks configuration-save actions for non-administrative roles
  • Add a strict Content Security Policy that disallows inline scripts, limiting the impact of injected payloads
  • Remove the plugin entirely if push notification functionality is not business-critical
bash
# Example WordPress CLI commands to disable the plugin and open registration
wp plugin deactivate adwised-web-push-notification
wp option update users_can_register 0
wp user list --role=subscriber --format=csv

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.